• Home
  • WP tuts
  • Hosting talk
    • Free hosting
    • Cheap Hosting
    • comparison cloud , vps, shared, wordpress
    • managed wordpress hosting
    • managed cloud hosting
  • Speed up wordpress
  • Pc world
  • Services
  • About Me

RAaz Kumar .com

wordpress tutorials seo hosting etc

top 10 apt & apt-get commands (most used) apt vs apt-get

apt vs apt-get

apt is ubuntu feature from 2014,
ubuntu version b16.04
Debian ?
apt & apt-get are not same
apt-get python wrapper
APT means Advanced packaging tool
apt-get Debian version (ubuntu, linux mint)
aptitude command
it provides both gui & cli options with features like apt-get command

apt-cache

apt consist
both
 apt-get and apt-cache
also manges apt.conf file.
fewer & sufficient commands than apt-get

apt & apt-get similar commands

there is no difference in
apt update vs apt-get update
apt install vs apt-get install
apt remove vs apt-get remove
apt purge vs apt-get purge
apt autoremove vs apt autoremove
apt search apt-cache search
apt show vs apt-cache show

apt new commands

apt list list the packages
apt list-upgradable (to view upgradable
apt edit-sources (edit sources list)

apt update  vs apt upgrade vs do upgrade vs release upgrade

apt update refreshes repository indexes.
ex: if you added a new repository or dependency
then you type apt install
it doesn’t installs the package.
because linux system has to fetch & know the source.
we need to run update.
update nothing to do with existing packages. just it refreshes the sources.
ex: installed php 7.4.1
then new version available with same dependency
7.4.2
if we run apt update command it fetches. 7.4.2
then the upgrade command
upgrades the existing php-pfm package
from 7.4.1 to 7.4.2
not from major version 7.4 to 7.5
upgrade command without update command is useless.

apt-get dist-upgrade vs apt full-upgrade vs apt upgrade

apt-get dist-upgrade will install or remove packages as necessary to complete the upgrade, apt upgrade will automatically install but not remove packages. apt full-upgrade performs the same function as apt-get dist-upgrade .
most popular for apt-get dist-upgrade vs apt upgrade
sudo do-release-upgrade
for Upgrading is version ex ubuntu 18.04 to 20.04.

sudo apt remove  vs sudo apt purge vs apt autoremove

sudo apt autoremove

apt list –installed

apt list –all-versions

apt show pkg_name

sudo apt remove pkg_name

sudo apt purge pkg_name

sudo apt install pkg_1 pkg_2 pkg_3

 

final words:
apt is a part of apt-get and apt-cache with fewer & useful commands.

Related topics:

  1. Upgrade Ubuntu from 18.04 (19.10) to 20.04 LTS command line or gui server | desktop
  2. Lamp stack install on Ubuntu 20.4 LTS apache, mysql, php 7.4(Debian 9 & Ubuntu 18.04 lts)
  3. lsof netstat commands to know listening ports in linux 3 ways
  4. install lemp Linux, Nginx 1.15.12, MySQL 8, PHP fpm 7.3 on Ubuntu 18.04
  5. linux commands pdf (files & Directories, zip & unzip process, search etc)

tutorials

  • Android Studio tutorials syllabus Topics Course details #AndroidApplicationDevelopment
  • xampp tutorials 2021 installation errors fix wordpress phpmyadmin mysql apache
  • Devops Syllabus topics PDF
  • CCNA Syllabus pdf (CCNA / CCNP vs devops vs mcsa /MCSE)
  • how to create a website free of cost on google
  • what is vpn vs proxy vs tor, http vs https, http2, tcp vs udp, kali linux sql source code injection
  • nginx server tutorials (installation, configuration, performance tuning, security)
  • Vivek Bindra Videos Transcription (business strategy)
  • AUdio Editing Background Noise removal (Audacity, Adobe Premiere Addition, Camtasia Filmora Windows Obs)
  • MySQL Tutorial (create,connect database, update tables, export etc) Documentation & TIPS
  • [INTRO] Ethical hacking / cyber Security / Penetration testing Tutorial -{updates frequently}
  • ubuntu tutorials installation download issues etc
  • Php tutorials
  • HTML & CSS Tutorials
  • Core Java Tutorial Free online
  • Linux sysadmin tutorials linux system administrator
    • top 10 apt & apt-get commands (most used) apt vs apt-get
    • linux commands pdf (files & Directories, zip & unzip process, search etc)
    • linux performance tuning inode limit file descriptors tco, kernel etc
    • Top 10 most used Cat commands with examples (create, view, append files)
    • Ip tables / ufw / firewall d commands for block port ip rate limiting
    • Top 10 zip / tar commands to compress & extract files in linux
    • TOP 10 mv & cp commands in linux to move & copy files in Linux
    • Top 10 GREP Commands in linux to search files
    • lsof netstat commands to know listening ports in linux 3 ways
    • Upgrade Ubuntu from 18.04 (19.10) to 20.04 LTS command line or gui server | desktop
    • 3 Ways (SCP, rsync, Sftp) linux server migration between two remote server apache nginx
    • linux system specs commands (CPU, Memory, Disk )speed, type. manufacture
    • linux sysctl.conf performance tweaks net.core.somaxconn nginx kernel settings
  • apache server tutorial (install,config, performance tuning, security, error handling)

 

PUBG Mobile Tips & Tricks

free fire how to play (a-z guide) guns, tips & tricks etc

Windows 10 tips & tricks

Pagespeed optimization

Pc building tips & tricks

nginx server tutorials

apache server tutorials

linux sysadmin tutorials

mysql Commands list pdf

Android studio tutorials

Gaming/ streaming tips

Airtel dth channel list

 

wordpress

 

Top 5  WP Google Analytics Plugins

WP Backup Plugins

Wp Comment Plugins

Top wordpress Security Plugins

WP Seo Plugins

WP Caching Plugins

Best Adsense Plugins for WordPress

Wp social Sharing Plugins

autoshare social media plugins

WP speed Optimization Plugins

Speedup WordPress google Score

More Wp tuts

Server Admin Cloud

 

Installing Nginx LEMP On ubuntu

Installing apache Lamp ubuntu

nginx fastcgi cache enable

php – fpm install  & Configuration

Opcache install & Configure

php -fpm pool manager explained

Mysql Install & Configuration

Redis Object cache install & configure

 

Nginx as Reverse Proxy and Load balancer

Load Balance / auto scaling in google cloud

Linux Commands PDF

Mysql Commands Pdf

Letsencrypt tutorial

mysqldump export & import 

Pagespeed Module install & configure

nginx.conf best file

mysql.conf best file

upgrade ubuntu

© 2021 - All Rights Reserved Disclaimer & Privacy Policy