source" as a repository-6.1 Create a "warehouse file"Under directory "/etc/yum.repos.d/", define a "warehouse file" with the extension ". Repo"Su-c ' CP Example.repo/etc/yum.repos.d/51cto.repo '* The attribute "Gpgcheck" is required for each warehouse file, and if the public key is automatically matched, it needs to be done manually-6.2 Manual authentication software sourceAdd a public key from a file to the RPM key ringSu-c ' rpm--import gpg-pub-key
RedHat software management-source code package installation
Source Package features:
It has extensive platform support and can be installed on all UNIX-like operating systems without considering the CPU architecture.
Flexibility. You can specify unique options during installation.
The setting system is very high. Y
successMakeMake install Using the Yum source of NetEase Backup/etc/yum.repos.d/centos-base.repo FirstMv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backupDownload the corresponding version of the repo file, put in the/etc/yum.repos.d/(please do the appropriate backup before the operation)Http://mirrors.163.com/.help/CentOS5-Base-163.repoHttp://mirrors.163.com/.help/CentOS6-Base-163.repo Run the following command to generate the cacheYum clean all clears the Yum cacheYum Ma
The package management mechanisms of Gentoo, Debian, and FreeBSD are very similar. Gentoo and Debian are my favorite Linux distributions, one is naturally an excellent development platform, and the other is undoubtedly the preferred product for both servers and desktop environments. Keyword search software Gentoo: emerg... the
Before learning this lesson, I always think that rpm is outdated like many people who are new to me. RedHat is now the world of yum, after the lecture, instructor Li found that rpm is more practical than yum in many cases.
I. Binary Package Installation
Rpm software package managementAn example of an RPM packageSudo-1.7.2p1-5.el5.i386.rpmIncluding the
software not packaged by the native distribution
Install up-to-date versions of software when the native distribution is old
Use the same package manager to manage both your Mac and Linux machines
Linuxbrew allows the package to be installed in the user's home directory, so that sudo is no longer required;
You c
Brew is Homebrew, is the software package management tool on Mac OSX, it can easily install the software or uninstall the software in Mac, it is very convenient to use only one command.Brew is similar to the Apt-get function under Ubuntu system.To install Brew:CURL-LSSF Http
First, switch to the root permission: su and enter the root password # yumcheck-update to display the software package that can be upgraded # yumremove software package name n
First, switch to the root permission:Su and enter the root password.
# Yum check-update: displays the sof
In the open source world, Linux,nodejs,ruby these have good package management tools, make it easier for everyone to use, and in fact there are windows.Chocolatey, home in chocolateyInstall the following:@powershell-noprofile-executionpolicy Unrestricted-command "IEX (New-object net.webclient). Downloadstring (' Https://chocolatey.org/install.ps1 ')) " SET path=%path%;%allusersprofile%\chocolatey\ BinInstal
-Y if Yum needs a user response during work. This parameter can answer yes directly#yum list lists all the RPM packages that can be installed or updatable in the repository#yum Perl-listed packages for Perl#yum perl* list the packages that begin with PerlInstalling Perl packages #yum Install Perl#yum Remove perl* Delete all perl-* packages#yum check-update Check for RPM packages that can be updatedUpdating all RPM Packages #yum update#yum Update kernel Kernel_source updates execute RPM
/usr/share/man. here is the man ls
There is a file man. config in/etc.
MANPATH
Fifth: header file:
Include some other functions in this program
Common header files are stored in/usr/include
Most software header files are under this directory www.2cto.com
Ln-sv/usr/local/axel/include/*/usr/include
Create a soft link for each file
Ln-sv/usr/local/axel/include/usr/include/axel
Create a soft link for the header file
2. how to compile the source code:
One, extract the tar-xzvfwebmin-1530targz 2, enter the relevant directory cdwebmin-1530 3, if you execute configure will prompt configure does not exist because in Linux is not the source code package installation, it will provide a detailed
I. decompress
Tar-xzvf webmin-1.530.tar.gz
2. go to the relevant directory
Cd webmin-1.530
3. if you execute./configure at this time, the system will prompt that configure does not exist.
If the source code
Document directory
1. RPM stands for Red Hat Package Manager (Red Hat Package Manager)
2. Yum stands for Yellow Dog Updater, modified
3. Deb
4. APT (theadvanced packaging tool)
1. The suffix is .tar.gz?tar.z=tar.bz2 or. tgz.
2. Installation File ending with Bin
3. uncompiled RPM package installation
The software
:x64, x86_64, AMD64Powerpc:ppcPlatform agnostic: NoarchClassification and sub-packagesAPPLICATION-VERSION-ARCH.RPM: Main PackageAPPLICATION-DEVEL-VERSION-ARCH.RPM Development Sub-packageapplication-utils-version-arhc.rpm Other sub-packagesapplication-libs-version-arhc.rpm Other sub-packagesBetween packages: There may be dependencies, or even cyclic dependenciesTo resolve the dependency package management to
NameUnloading:Yum-y Remove Package NameClear cache:Yum CleanGeneral principles: The server uses the minimum installation, what software to install what software, try to avoid uninstallingYum Group ManagementYum grouplist Yum Groupinstall "Chinaese support"
SOURCE Package Management:Source
Kali cannot locate the solution of the software package. The kali Software Package
Exception Handling Summary-server http://www.cnblogs.com/dunitian/p/4522983.html
I have met you before. I haven't touched Linux for a long time. I forgot. Then I searched the internet .... Er, I found that the solution was written by
(i386/x86_64), corresponding to the OS (RHEL5/RHEL6) related software packages, download down manual installation. again to CD2 up in the answer:#yum install gd...rpm geo...rpmIn the execution of this command:#cd Rpmbuild/specs#rpmbuild-ba ( compile the RPM package generated in binary format and generate the rpm package in source format) Nginx.spec#cd:#ls rpms/x
After Ubuntu is installed, we usually need to first apt-getupdate and then apt-getupgrade to keep our system up to date. The downloaded software package is generally stored in the/var/cache/apt/archives/directory. After an update, several hundred MB of temporary files are generated. However, if you need to reinstall the system for some reason, do you need to download so many files again? If you encounter a
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.