I installed Ubuntu for the first time. I used to play redlinux and red-flag Linux before. I felt that some operations were troublesome, but I was not very familiar with it. I installed Ubuntu this time, I think Ubuntu is indeed very successful. At least, there are a lot of help information on the Internet, so I can easily understand the installation of Ubuntu, and there is an apt command under Ubuntu, you can run a command to install and delete the installed program without downloading, decompressing, and making the program on the website.
I installed Ubuntu for the first time. I used to play redlinux and red-flag Linux before. I felt that some operations were troublesome, but I was not very familiar with it. I installed Ubuntu this time, I think Ubuntu is indeed very successful. At least, there are a lot of help information on the Internet, so I can easily understand the installation of Ubuntu, and there is an apt command under Ubuntu, you can run a command to install and delete the installed program without downloading, decompressing, and making the program on your website. Of course, you need to decompress and install the program on your own, the apt installation in Ubuntu provides easy and convenient installation. It seems that Ubuntu will be very popular.
The following is an apt command reference, which is also used as a tag.
If you do not know the specific package name, run sudo apt-cache search packagename first. This command is commonly used and must be remembered
Apt-cache show packagename obtains the package information, version, size, and so on.
Apt-get install packagename installation package, which is the most common command.
Apt-get install pacekage -- reinstall
Apt-get-f install packagename force Installation
Apt-get remove packagename remove alread package softe
Apt-get remove packagename -- pure remove and all have been installed and removed cleanly.
Apt-get autoremove automatically deletes unwanted packages
Apt-get update
Apt-get upgrade: Update installed packages
Apt-get dist-upgrade has never been used to upgrade the system,
Apt-cache depends pacakgename understands the dependencies used and is rarely used.
Apt-cache rdepends packagename describes specific dependencies.
Apt-get build-dep packagename install the relevant compiling environment. This is sometimes required.
Apt-get source package downloads and installs the source code of the package, which is sometimes required for programming. (How many people are there actually ?)
Apt-get clean
Apt-get autoclean clears the download file archives. Frequently used. After installation, you sometimes need to clear the downloaded package. After all, you don't want to fill the space with unnecessary things.
Apt-get check to check whether any corrupted dependency exists. Rarely used.
The above commands must be run after sudo. the abbreviation of sudo is supper do, and apt indicates advanced pacakge Tool.
You can use man apt to get more detailed explanations.