Installing a package using Linux CLI (Command Line Interface) like "apt-get install" (Debian based) or "yum install" (Red-Hat based) is much more convenience that using GUI to install an tools or software and the like. It's automatically install and do everything you like and you just have to wait it to be complete and ready to run :)
But for Windows user who wish to have a Linux environment on their Windows box they can install "Cygwin". With Cygwin you can run your Windows box like Linux, and it's kind like a hybrid "win-nix".
If you forgot to select and install the necessary package that you wanted to some command will be not available to run or it might pop-out an error message like "command not found" or "invalid command "
Now, if you wish to run a command like a mention above "apt-get install", you can download the code here make the script executable using chmod and move the script file to /usr/loca/bin and after that you ready to go!
Example :
wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg
chmod +x apt-cyg
mv apt-cyg /usr/local/bin/
apt-cyg install bc
Now we can install a package using "apt-cyg install". Make sure all the necessary library file for your Cygwin are installed.
But for Windows user who wish to have a Linux environment on their Windows box they can install "Cygwin". With Cygwin you can run your Windows box like Linux, and it's kind like a hybrid "win-nix".
Cygwin Logo |
If you forgot to select and install the necessary package that you wanted to some command will be not available to run or it might pop-out an error message like "command not found" or "invalid command "
Now, if you wish to run a command like a mention above "apt-get install", you can download the code here make the script executable using chmod and move the script file to /usr/loca/bin and after that you ready to go!
Example :
wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg
chmod +x apt-cyg
mv apt-cyg /usr/local/bin/
apt-cyg install bc
Now we can install a package using "apt-cyg install". Make sure all the necessary library file for your Cygwin are installed.
Comments
Post a Comment