Basic operations on managing Ubuntu 16.04 LTS software package

Source: Internet
Author: User

Basic operations on managing Ubuntu 16.04 LTS software package

We have already introduced the new features of Ubuntu 16.04 in the previous article. With the release of Ubuntu 16.04 LTS, the management commands of Ubuntu software packages have also changed, the new system uses the APT (Advanced Package Tool) used in the Debian project to complete various tasks, the ATP command completely replaces the apt-get and apt-cache functions described in the basic operations of Linux software package management.

At the beginning of its creation, ATP was designed to solve the problems encountered in managing a large number of software packages and hoped to end a major drawback similar to the early Linux system dependency. However, the documentation of the ATP command itself is relatively scattered, and it is difficult for users who have just started to find its help information.

Over the past decade, almost all Debian and Ubuntu users have been using apt-get to install and delete software packages. Now you should try to switch to the new APT command.

Note: Ubuntu 16.04 retains the apt-get series commands to ensure the usage of old users.

Simplify command line with APT

Next we will list the usage comparison between the ATP command in Ubuntu 16.04 LTS and the software package management in earlier versions of Ubuntu:

Ubuntu 16.04 LTS Earlier versions of Ubuntu
Apt install package name SubstitutionApt-get install package name
Apt remove package name SubstitutionApt-get remove package name
Apt search package name SubstitutionApt-cache search package name
Apt show package name Replace apt-cache show package name
Apt update SubstitutionApt-get update
Apt upgrade SubstitutionApt-get upgrade
Apt list-installed
  • SubstitutionDpkg-get-selections | grep-v deinstall
  • SubstitutionDpkg-l
Apt list-upgradable Apt-get-u upgrade-assume-no
Pt edit-sources
  • SubstitutionEcho 'new line of text' | sudo tee-a/etc/apt/sources. list
  • SubstitutionSudo nano/etc/apt/sources. list
Apt autoremove SubstitutionApt-get autoremove
Apt purge package name SubstitutionApt-get purge package name

Ubuntu 16.04 LTS was officially released and downloaded for 5 years of technical support

Ubuntu 16.04 USB flash drive installation graphic tutorial

15 things to be configured after installing Ubuntu 16.04 LTS

Ubuntu 16.04 LTS released Canonical today to announce new system features

Upgrade Ubuntu 15.10 To Ubuntu 16.04

Install Lua game engine in Ubuntu 16.04

How to Use the Snap package for Ubuntu 16.04 LTS

Ubuntu 16.04 requires your help to make GNOME Software more beautiful

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.