How To Search the APT Sources for Available Packages
Search for a string:
1 |
apt-cache search {LOOKING_FOR} |
List all packages:
1 |
apt-cache search . |
Search for a string:
1 |
apt-cache search {LOOKING_FOR} |
List all packages:
1 |
apt-cache search . |
As usual, whenever I have to do sysadmin on a Ubuntu-based OS, I find problems. When will people realize what a horrible OS it is? In this case, packages needed were unavailable. For apt-get to function, the file /etc/apt/sources.list must be edited to change all URLs from security.ubuntu.com and archive.ubuntu.com to old-releases.ubuntu.com, using the sed […]
root@myHost # apt-get update Hit http://cloudfront.debian.net wheezy Release.gpg Hit http://cloudfront.debian.net wheezy-updates Release.gpg Hit http://cloudfront.debian.net wheezy-backports Release.gpg Hit http://cloudfront.debian.net wheezy Release Hit http://cloudfront.debian.net wheezy-updates Release Hit http://cloudfront.debian.net wheezy-backports Release Hit http://cloudfront.debian.net wheezy/main Sources Hit http://cloudfront.debian.net wheezy/main amd64 Packages Hit http://cloudfront.debian.net wheezy/main Translation-en Hit http://cloudfront.debian.net wheezy-updates/main Sources Hit http://security.debian.org wheezy/updates Release.gpg Get:1 http://cloudfront.debian.net wheezy-updates/main amd64 Packages/DiffIndex [2,488 […]
Your mileage may vary widely…
1 2 3 4 5 |
export AWS_CREDENTIALS_FILE=/root/aws/aws-credentials mkdir /opt/aws/bin cd /opt/aws/bin wget http://aws-catalog-download-files.s3.amazonaws.com/AmazonSES-2011-07-21.zip unzip AmazonSES-2011-07-21.zip |
CentOS
1 |
yum install libxml2-devel |
Ubuntu
1 2 3 4 5 6 7 |
apt-get install gcc apt-get install libssl-dev apt-get install libxml2-dev apt-get install libio-socket-ssl-perl apt-get install libnet-ssleay-perl apt-get install libnet-https-any-perl apt-get install liblwp-useragent-determined-perl |
For all OS
1 2 3 4 |
cpan CPAN YAML Digest::SHA URI::Escape Bundle::LWP MIME::Base64 Crypt::SSLeay XML::LibXML LWP::Protocol::https perl -e 'print "@INC;\n";' cp SES.pm {one path from above command} /opt/aws/bin/ses-verify-email-address.pl -l |