Sponsored Content
Full Discussion: Apt-get
Top Forums UNIX for Beginners Questions & Answers Apt-get Post 302978573 by bakunin on Monday 1st of August 2016 11:10:50 AM
Old 08-01-2016
Quote:
Originally Posted by zaxxon
I just read up - so yum is the Default packet manager on CentOS. I wonder why you want to use apt then. apt is usually on Debian-like systems.
yum is in fact a frontend for rpm, which is the package manager for RedHat-like systeme (one of which is CentOS). apt-get is the package manager for Debian-based systems.

I hope this helps.

bakunin
 

9 More Discussions You Might Find Interesting

1. Linux

apt-get craziness.....

I had mysql client installed, then I upgraded my version of perl using apt-get install. Now, I want to get mysql-client working again and when I try to install it, I get: /usr/bin# apt-get install mysql-client Sorry, but the following packages have unmet dependencies: mysql-client: Depends:... (2 Replies)
Discussion started by: natter
2 Replies

2. UNIX for Dummies Questions & Answers

Apt-get install

When I use apt-get install command, for example samba install, does that command then invokes search of entire disk to find samba packet or what? (1 Reply)
Discussion started by: salvor_hardin
1 Replies

3. UNIX for Advanced & Expert Users

apt-get install error

Hello when i am giving a command apt-get install I am getting error as below: " apt-get: error while loading shared libraries: libapt-pkg-libc6.3-6.so.3.11: cannot open shared object file: No such file or directory " can u suggest what to do. https://www.unix.com/images/misc/progress.gif... (1 Reply)
Discussion started by: pradeepreddy
1 Replies

4. Debian

apt-get error

Hello when i am giving a command apt-get install I am getting error as below: " apt-get: error while loading shared libraries: libapt-pkg-libc6.3-6.so.3.11: cannot open shared object file: No such file or directory " can u suggest what to do. step by step. (3 Replies)
Discussion started by: pradeepreddy
3 Replies

5. UNIX for Advanced & Expert Users

apt vs aptitude little tutorial

Hi all I dont know if this is right place but I saw somewhere dd tutorial so I decidet to write a little tutorial about debian package manager. I hope this will clear some misundersands about it, maybe somewher i will be wrong or somebody could explain it better so any comments are welcomed. Many... (3 Replies)
Discussion started by: wakatana
3 Replies

6. Debian

apt-get problems on Wheezy

I am having some troubles with apt-get. I did an apt-get update and an apt-get upgrade. Some dependencies did not download, and so I had to do `apt-get -f install` to fix that. The thing is I get an error about /var/lib/dpkg/available root@hayek:~# apt-get -f install Reading package lists...... (3 Replies)
Discussion started by: John Tate
3 Replies

7. UNIX for Dummies Questions & Answers

Reinstall sudo apt-get?

I am using ubuntu11.10 and i was trying to do the update to 12.04, i found a post suggesting to use to solve part of the problem: sudo apt-get remove ubuntu-keyring sudo apt-get --yes -q --allow-unauthenticated install ubuntu-keyringI ran the first command but not able to run the second or any... (0 Replies)
Discussion started by: CS_NA
0 Replies

8. Red Hat

Yum and apt-get

I know both yum and apt-get could update the package , could advise which one is better in Redhat server ? thanks Login ID ust3 is currently in read-only mode for multiple infractions. Creating new identities to avoid restrictions is not allowed. This thread is closed. (1 Reply)
Discussion started by: ust03
1 Replies

9. UNIX for Dummies Questions & Answers

Apt-get install --purge

Hello, i would like to know what is the use of that command apt-get install --purgeI understand the use of --purge while using with remove parameter, but i don't get it when it's about installing. Enlight me please ! Thx ---------- Post updated 09-03-16 at 11:35 AM ---------- Previous... (0 Replies)
Discussion started by: Purgator
0 Replies
apt-p2p(8)						      System Manager's Manual							apt-p2p(8)

NAME
apt-p2p -- apt helper for peer-to-peer downloads of Debian packages SYNOPSIS
Normally apt-p2p is run from init.d using twistd, in which case no apt-p2p options can be specified on the command-line, and all configura- tion variables are read from the default config file locations of $HOME/.apt-p2p/apt-p2p.conf and /etc/apt-p2p/apt-p2p.conf. The command is then: twistd -y /path/to/apt-p2p [twistd options ...] For a detailed listing of the twistd options, see twistd(1) apt-p2p can also be run without twistd by executing: apt-p2p [options ...] In this case, you can specify the options documented below on the command-line. DESCRIPTION
apt-p2p is a helper for downloading Debian packages files with APT. It will download any needed files from other Apt-P2P peers in a peer- to-peer manner, and so reduce the strain on the Debian mirrors. APT SETUP In order for APT to send it's requests to apt-p2p, the sources.list entries must be modified to point to the local apt-p2p address. Unless you have changed the default port, then adding "localhost:9977/" to the beginning of each entry should be sufficient. For example, if your sources.list contains a line like this: deb http://ftp.us.debian.org/debian etch main contrib non-free then replace it with this: deb http://localhost:9977/ftp.us.debian.org/debian etch main contrib non-free You can do the same with 'deb-src' lines as well, and apt-p2p will be used to download and share your source packages as well. PORT FORWARDING It is VERY important that Apt-P2P's ports be reachable by other peers. This is needed both to share files with others, and to connect to others through the DHT to find peers for files. If you aren't accessible by others, you will not only not share anything, but your perfor- mance during downloading will be affected. Apt-P2P uses a default port of 9977, over both TCP and UDP, for it's communication. You can change this port in the /etc/apt-p2p/apt- p2p.conf file, and use different ports for TCP and UDP, if desired. Whatever port you use, make sure to forward it through your NAT or firewall to improve your performance and share with others. Information on port forwarding can be found here: (link to URL http://portforward.com/) PRIVATE NETWORKS Apt-P2P is not designed to function as a downloader for multiple clients on a private network. Apt-P2P checks the source of incoming requests and only responds to those from the localhost. For more information: (link to URL http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481243) OPTIONS
These programs follow the usual GNU command line syntax, with short options starting with a single dash ('-'), and long options starting with two dashes ('--'). A summary of options is included below. -c filename, --configfile=filename the filename to use for the configuration file, options found in this file are combined with those in $HOME/.apt-p2p/apt-p2p.conf and /etc/apt-p2p/apt-p2p.conf (see apt-p2p.conf(5) for the format of the file) -l filename, --logfile=filename the filename to print log messages to, or '-' to log to standard output, if not specified then /var/log/apt-p2p.log will be used -h, --help print a help message describing the invocation of the program -v, --version print the version of the program SEE ALSO
apt-p2p.conf(5), twistd(1) AUTHOR
This manual page was written by Cameron Dale <camrdale@gmail.com> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. apt-p2p(8)
All times are GMT -4. The time now is 02:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy