Learn Linux -- 5apt package management command detailed introduction APT use of some common commands: 1.1 installation package: sudoapt-getinstallpackagename1.2 Delete Package: sudoapt-getremovepackagename1.3 get new software... learn about Linux -- 5 apt
BKJIA Internet headlines in September 29, 2013: This article describes how to use the YUMYellowdog Updater Modified developed by RedHat to install, update, remove, and search software packages and manage software packages and libraries. The sample commands shown in this article are all tested on our CentOS 6.3 server. You can use these materials for learning and authentication, or just to figure out how to
package this file was installed in, and F is the 1th letter of file. For example, the command that lists the package that installs the/bin/tar file is: Rpm–qf/bin/tarRPM–QI Package Name: Displays the information for this package, I is the 1th letter of the information (message). For example: List the commands that tar
one, the popular package management has two kinds:Debian Linux's Deb package and Redhat Linux rpm software packages,
Debian Linux first proposed that the application binaries, configuration documents, Man/info help pages and other files merged into a file, users use the Package
2 RPM (redhatPackageManager) package management introduction: 3 RPM command: 1 rpm software package naming convention: Note: An RPM is for a specific platform to call the package linuxabc-120-30el6i686rpm2RPM basic commands install soft
II. Introduction to RPM (redhat
Dpkg is a tool for installing, generating, deleting, and managing software packages in Linux. The syntax format is as follows:
Dpkg [option...] action
Dpkg itself is completely controlled by command line parameters. Its command line parameters include one action and zero or multiple options. The action parameter tells dpkg what to do, and the option parameter controls action to some extent. For example, you can use dpkg to check the status of a
a local Yum sourceMount/dev/cdrom/mntCp-r/etc/yum.repos.d/etc/yum.repos.d.bak//Backup FirstRm-f/etc/yum.repos.d/*Vim/etc/yum.repos.d/dvd.repo#加入如下内容:[DVD]Name=install DVDBaseurl=file:///mntEnabled=1Gpgcheck=0Yum List//See if a DVD's logo appearsInstalling the Yum extension sourceRpm-ivh www.lishiming.net/data/attachmen ... e-6-8_32.noarch.rpm (other address http://www.aminglinux.com/bbs/thread-6721-1-1.html)You can also install this: Yum install-y epel-releaseDownload a RPM
Install graphical APT management tools on Ubuntu 17.10 To create a new software package manager
The new version is the graphical front-end of the Ubuntu package management tool apt. It combines simple graphical operations with the powerful functions of the apt-get command l
Software Package management commands in CcentOS
First, switch to the root permission:Su and enter the root password.
# Yum check-update: displays the software packages that can be upgraded
# Yum remove package name Delete the specified
Package ManagementPackage compositionBinary programConfiguration fileSingle FileCut the master profile into multiple small files and place them in a directory./etc/profile,/etc/profile.d/*/etc/pam.conf,/etc/pam.d/*Single file, which is split internally into multiple fragments.[MySQL] [Mysqld] ...Library files: Binary executable functions (all C programs are composed of functions) share modulesStatic LibraryDynamic LibraryHelp fileManual pageDocument (
Linux software package management-rpm/Etc,/bin,/sbin,/lib,/usr/share/man/Etc,/bin,/sbin,/lib: the program to be used when the system starts. These directories cannot be mounted to additional partitions and must be on the root file system partition./Usr/BinSbinLibCore features of the operating system, which can be partitioned separately/Usr/local it is recommended
-downloadonly.noarch First need to install a plug-in to support download-only not installed#yum Install package name-y--downloadonly so only download not installed, storage location/var/cache/yum/base/packages#yum Install package name-y--downloadonly--downloaddir=/usr/date Specify a download directory, if it is already installed RPM package so unsuccessful, you n
Ubuntu 12.04 Software Center Open error and ubuntu package management ": E: read error, ubuntu12.04ubuntu
When running the ubuntu soft lecture center, it cannot be opened. It always crashes and cannot be downloaded from the terminal;
When you run the update or search operations on the package
There are two kinds of software package management tools in Ubuntu, one is offline management and the other is online management1. Offline ManagementThe Dpkg tool can install, uninstall, view status, and so on, locally stored Deb installation packages.Dpkg-i app_name_version.deb: Installing App_name SoftwareDpkg-r App_
1. Binary package Management (RPM, YUM)2. Source Code Package Installation3. Script installation (shell or Java script)4, Debian system Linux Package management IntroductionFirst, RPM package managementAn example of a RPM package:
source package information
./configure--help View available configuration options
Handle path variables for ease of use
Relink The dynamic library file: The build *.so will be compiled and installed. N file address is added to/etc/ld.so.conf.d/*.conf, one per line; Ldconfig Rebuild Library Map cache ld.so.conf, common options-p and-V
Processing header files: Copy or link the newly generated. h file to/usr/include
Handling Man Hand
As a package management tool in Linux, Yum effectively solves many inconveniences (such as complex dependencies) when installing software packages ). The following describes how to configure the yum source for the Local Machine for free installation of software. The Yum source can be a local yum source specified by the
disc image and use it.Where: BaseURL in. Repo uses file. Example: Baseurl=file:///media/centos2. Self-built Yum Warehouse serverTake FTP as an example, step:(1) Install the FTP program and start the service# RPM-IVH vsftp-Version numberOr# yum Install Vsftpd-yStart the service# service VSFTPD Start# Chkconfig VSFTPD on(2) FTP shared directory is/var/ftp/pubCreate subdirectories to hold all RPM packages that are relevant (recommended)(3) Generate a metadata file for the warehouse so that it can
software upgrade package in the applied state
# Installp
-Cgx all
4. Cancel the applied status upgrade and return to the original version.
# Installp
-Rbfx./reject. List
5. Delete installed software
# Installp
-Ugp-V2 bos.net. IPSec. RTE
6. Clear after installation failure
# Installp
-C
7. list all inst
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.