
Terminal - Commands using install - 33 results
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 )
brew update && brew install `brew outdated`
This is sample output - yours may be different.
apt-get install most && update-alternatives --set pager /usr/bin/most
This is sample output - yours may be different.
That command installs "most" and make this command as the default man reader. The "most" works like "less" (the current man reader), but it render colors for manpages and may do more things. Read "man most".
You can see a preview here: http://www.dicas-l.com.br/dicas-l/20090718.php
aptitude install bash-completion ; source /etc/bash_completion
This is sample output - yours may be different.
The really awesome bash completion in debian seems to be an extra package now, which has to be installed. After sourcing /etc/bash_completion it completes almost everything (package names in apt... etc) :-)
To make this permanent, put something like this in your .bashrc:
if [ -f /etc/bash_completion]; then
source /etc/bash_completion
fi
sudo tasksel install lamp-server
This is sample output - yours may be different.
The execution of this command will install a LAMP server (Linux, Apache, MySQL and PHP) in a Debian based distribution. For example, in Ubuntu.
This is sample output - yours may be different.
this is funny ;)
alias sl="ls" ... is the useful solution, but that's boring ;P and You won't learn to think before You type !