
Terminal - Commands using install - 38 results
sudo apt-get install linux-headers-`uname -r`
This is sample output - yours may be different.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
binutils cpp-4.3 gcc-4.3 gcc-4.3-base libc-dev-bin libc6-dev libgmp3c2 libgomp1 libmpfr4 linux-headers-2.6.32-5-common linux-kbuild-2.6.32 linux-libc-dev manpages-dev
Suggested packages:
binutils-doc gcc-4.3-locales gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-doc libgcc1-dbg libgomp1-dbg libmudflap0-dbg glibc-doc
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.8 MB of archives.
After this operation, 68.9 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Install the Linux kernel headers for currently running kernel version on Debian-based systems via apt-get
apt-get install phpmyadmin; echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/apache2.conf; service apache2 restart
This is sample output - yours may be different.
This command will install phpmyadmin, set apache2 server and restart apache2. After running this command you can open phpmyadmin on http://yoursite.com/phpmyadmin
sudo apt-get install lamp-server^ phpmyadmin
This is sample output - yours may be different.
dpkg --list | rgrep ii | cut -d" " -f3 | sed ':a;N;$!ba;s/\n/ /g' | sed 's/^\(.\)/apt-get install \1/'
This is sample output - yours may be different.
apt-get install acl adduser anthy-common apt apt-utils aptitude authbind avahi-daemon base-files base-passwd bash bind9-host binutils bsdmainutils bsdutils busybox bzip2 ca-certificates ca-certificates-java collectd collectd-core coreutils cpio cpp cpp-4.4 cron curl dash dbus debconf debconf-i18n debian-archive-keyring debianutils deborphan defoma dhcpcd dialog diffutils dmidecode dmsetup dnsutils dpkg dstat e2fslibs e2fsprogs emacs emacs23 emacs23-bin-common emacs23-common emacsen-common fancontrol file findutils firmware-linux-free fontconfig fontconfig-config fping gcc gcc-4.4 gcc-4.4-base gconf2-common geoip-database gettext-base gnupg gpgv grep groff-base grub grub-common grub-pc gsfonts gsfonts-x11 gzip hicolor-icon-theme hostname htop ifupdown info initramfs-tools initscripts insserv install-info iproute iptables iputils-ping java-common joe klibc-utils less lftp libaccess-bridge-java libaccess-bridge-java-jni libacl1 libanthy0 libasound2 libasyncns0 libatk1.0-0 libatk1.0-data libattr1 libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7 libbind9-60 libblkid1 libboost-iostreams1.42.0 libbsd0 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcairo2 libcap-ng0 libcap2 libcomerr2 libcommons-collections3-java libcommons-dbcp-java libcommons-pool-java libcroco3 libcups2 libcurl3 libcurl3-gnutls libcurses-perl libcurses-ui-perl libcwidget3 libdaemon0 libdatrie1 libdb4.7 libdb4.8 libdbi0 libdbi1 libdbus-1-3 libdbus-glib-1-2 libdevmapper1.02.1 libdns69 libecj-java libedit2 libept1 libesmtp6 libevtlog0 libexpat1 libflac8 libfont-freetype-perl libfontconfig1 libfontenc1 libfreetype6 libfribidi0 libgcc1 libgconf2-4 libgcrypt11 libgd2-noxpm libgdbm3 libgeoip1 libgif4 libglib2.0-0 libglib2.0-data libgmp3c2 libgnutls26 libgomp1 libgpg-error0 libgpm2 libgsf-1-114 libgsf-1-common libgssapi-krb5-2 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhal1 libice-dev libice6 libidl0 libidn11 libisc62 libisccc60 libisccfg62 libjasper1 libjpeg62 libk5crypto3 libkeyutils1 libklibc libkrb5-3 libkrb5support0 liblcms1 libldap-2.4-2 liblocale-gettext-perl liblockfile1 libltdl7 liblua5.1-0 liblwres60 liblzma2 libm17n-0 libmagic1 libmemcached10 libmodbus5 libmpfr4 libmysqlclient16 libncurses5 libncursesw5 libnet-snmp-perl libnet1 libnewt0.52 libnfnetlink0 libnl1 libnspr4-0d libnss-mdns
sudo apt-get install aptitude
This is sample output - yours may be different.
sudo apt-get install --reinstall bcmwl-kernel-source
This is sample output - yours may be different.
This is sample output - yours may be different.
Use ZSH instead of bash, typing .. will move you up one directory, without the need to alias it.
find ~/path/to/apk/files -name '*.apk' -exec adb install {} \;
This is sample output - yours may be different.
657 KB/s (2952283 bytes in 4.387s)
pkg: /data/local/tmp/sns.arcMediaTab.tabInterface.arm6_4.apk
Success
614 KB/s (2535490 bytes in 4.030s)
pkg: /data/local/tmp/com.beejive.im.fbchat_52.apk
Success
538 KB/s (1824182 bytes in 3.308s)
pkg: /data/local/tmp/com.dolphin.browser.pad_51.apk
Success
679 KB/s (12112117 bytes in 17.413s)
pkg: /data/local/tmp/com.skype.raider_33947743.apk
Success
730 KB/s (2792751 bytes in 3.731s)
pkg: /data/local/tmp/com.gameloft.android.ANMP.GloftB2HM_109.apk
Success
You must have the android sdk installed with 'adb' executable on your system. This is just a way to loop over files in a folder using 'find' to locate and install android apps.
sudo env ARCHFLAGS="-arch x86_64" gem install mysql
This is sample output - yours may be different.
apt-get install `ssh root@host_you_want_to_clone "dpkg -l | grep ii" | awk '{print $2}'`
This is sample output - yours may be different.
$sudo aptitude install python-virtualenv; virtualenv --no-site-packages jpaenv; source jpaenv/bin/activate
This is sample output - yours may be different.
Python virtual environment creation.
function command_not_found_handle(){ apt-get install $( apt-file search "$1" | grep bin | grep -w "$1" | head -n1 | cut -d ':' -f 1 ) && $* ; }
This is sample output - yours may be different.
juluan@juluan-desktop ~ 21:56:04 [130] $ scribus
Lecture des listes de paquets... Fait
Construction de l'arbre des d?pendances
Lecture des informations d'?tat... Fait
Les paquets suppl?mentaires suivants seront install?s?:
blt python-tk
Paquets sugg?r?s?:
blt-demo tix python-tk-dbg scribus-template scribus-doc
Les NOUVEAUX paquets suivants seront install?s?:
blt python-tk scribus
0 mis ? jour, 3 nouvellement install?s, 0 ? enlever et 3 non mis ? jour.
Il est n?cessaire de prendre 11,5Mo dans les archives.
Apr?s cette op?ration, 32,2Mo d'espace disque suppl?mentaires seront utilis?s.
Souhaitez-vous continuer [O/n]??
Work only with bash and apt-file installed.
When it found an unknow command, it will search for a file named "scribus" (in my example), in a folder named bin and then install the corresponding package.
After installation, it will run the command.
Usefull juste after reinstalling linux and missing lot of package.
sudo apt-get install linux-headers-$(uname -r)
This is sample output - yours may be different.
sudo -i; add-apt-repository ppa:webupd8team/sublime-text-2; apt-get update; apt-get install sublime-text-2
This is sample output - yours may be different.
This is the first version of the Sublime Text 2 packaging so there might be bugs.
<command> >NUL 2>&1 || ( echo <Command> not found. Please install <command> or check PATH variable! & pause & exit )
This is sample output - yours may be different.
bash --version >NUL 2>&1 || ( echo Bash not found. Please install cygwin or check PATH variable! & pause & exit )
Bash not found. Please install cygwin or check PATH variable!
Press any key to continue . . .
This is a command to be used inside of MS-DOS batch files to check existence of commands as preconditions before actual batch processing can be started. If the command is found, batch script continues execution. If not, a message is printed on screen, script then waits for user pressing a key and exits.
An error message of the command itself is suppressed for clarity purpose.
yum install fortune-firefly; fortune
This is sample output - yours may be different.
apt-get -y install git-core gitosis; adduser --home /home/git --gecos "git user" git; su git -c "ssh-keygen -t rsa -f /home/git/.ssh/id_rsa; gitosis-init < ~/.ssh/id_rsa"
This is sample output - yours may be different.
After, check if working by executing this command locally :
git clone git@192.168.0.18:repositories/gitosis-admin.git
Tutorial :
http://blog.hemca.com/?p=560
aptitude install '?and(~nlib.*perl, ~Dmodule)'
This is sample output - yours may be different.
Like 7172, but much easier.
apt-cache search perl | grep module | awk '{print $1;}' | xargs sudo apt-get install -y
This is sample output - yours may be different.
I used this to mass install a lot of perl stuff. Threw it together because I was feeling *especially* lazy. The 'perl' and the 'module' can be replaced with whatever you like.
for p in `grep -v deinstall /var/mobile/Library/Preferences/aptbackup_dpkg-packages.txt | cut --fields=1`; do apt-get -y --force-yes install $p; done
This is sample output - yours may be different.
Reading package lists... Done
Building dependency tree
Reading state information... Done
bzip2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
...
Use when aptbackup will not start or you just want to see what's going on.
dpkg-query -l > 1.lst; sudo apt-get install -y build-essential; ./configure; make; sudo checkinstall -D make install; dpkg-query --list > 2.lst; diff 1.lst 2.lst | grep '^>' | awk '{print $3}' | xargs sudo apt-get remove -y --purge
This is sample output - yours may be different.
on a dpkg managed system this PATTERN will help you generate .deb files from source AND remove all the dev libs you had to install. i hate cluttering up my machine with rouge packages and headers.
it would be pretty darn easy on rpm systems as well. i just dont have a rpm managed system to test on right now.
NOTE, you sharp ones will notice that it uninstalls the deb you just made! yeah, but the deb is still there to do with it what you want, like re install it. or you can just grep -v after the diff
APP=wine; if [ $(sudo apt-get --print-uris -y install $APP | sed -ne 's/^After this operation, \([0-9]\{1,\}\).*MB.*/\1/p') -gt 50 ]; then gnometris 2>/dev/null & sudo apt-get install $APP; else sudo apt-get install $APP; fi
This is sample output - yours may be different.
Change the APP variable's value to whatever you want to install. Depending on how fast your machine is, you'll want to adjust the value 50 to something else. You might also want to play a different game than Gnometris - just make sure it's a GUI game.
yum install vixie-cron crontabs
This is sample output - yours may be different.
yum -y install bind bind-chroot caching-nameserver
This is sample output - yours may be different.
install packages
yum -y install bind bind-chroot caching-nameserver
start service
service named restart
set autostart
chkconfig named on
This is sample output - yours may be different.
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel-PAE to pack into transaction set.
kernel-PAE-2.6.18-53.1.13 100% |=========================| 259 kB 00:01
---> Package kernel-PAE.i686 0:2.6.18-53.1.13.el5 set to be installed
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kernel-PAE i686 2.6.18-53.1.13.el5 updates 13 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 13 M
Is this ok [y/N]:
Downloading Packages:
(1/1): kernel-PAE-2.6.18- 100% |=========================| 13 MB 00:10
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: kernel-PAE ######################### [1/1]
Installed: kernel-PAE.i686 0:2.6.18-53.1.13.el5
Complete!
RHEL / CentOS Support 4GB or more RAM ( memory )