Download a file on ubuntu
Again, life would be a lot simpler if things always went smoothly. Now that you know. What happens is that a program may be dependent on another piece of software such as libraries. The Software Center cannot handle such errors on its own so you have to use another tool called gdebi. Personally, I prefer gdebi over the software center for installing deb files. It is a lightweight application so the installation seems quicker.
You can read in detail about using gDebi and making it the default for installing DEB packages. If you want to install deb packages in the command lime, you can use either the apt command or the dpkg command. The apt command actually uses the dpkg command underneath it, but apt is more popular and easier to use. If you get a dependency error while installing the deb packages, you can use the following command to fix it:. Now the question comes, how do you find the exact program name that you need to use in the remove command?
The apt command has a solution for that as well. You can find the list of all installed files with the apt command, but manually going through this will be a pain. So you can use the grep command to search for your package. For example, I installed the AppGrid application in the previous section but if I want to find out the exact program name, I can use something like this:.
This will give me all the packages that have grid in their name, and from there I can get the exact program name. As you can see, a program called appgrid is installed. Now you can use this program name with the apt remove command.
I added the remove part so you can have better control over the programs you installed. Also a movie buff with a soft corner for film noir. It will download the file with its original name in the directory you are in. It will be a good idea to provide custom name to downloaded file. Suppose you are browsing an FTP server and you need to download an entire directory, you can use the recursive option. Yes, you can totally do that. You can mirror an entire website with wget.
By downloading an entire website I mean the entire public facing website structure. If you aborted the download by pressing C for some reasons, you can resume the previous download with option -c.
Like wget, curl is also one of the most popular commands to download files in Linux terminal. To install curl on Ubuntu and other Debian based distributions, use the following command:.
If you use curl without any option with a URL, it will read the file and print it on the terminal screen. It is simpler to download multiple files in Linux with curl. You just have to specify multiple URLs:.
Keep in mind that curl is not as simple as wget. While wget saves webpages as index. This is because some times the links redirect to some other link and with option -L, it follows the final link. Active 8 years, 3 months ago. Viewed 42k times. Improve this question. Try winscp client on Windows platform, scp on Linux platforms and so on.
Dude, PuTTy comes with psftp. Add a comment. Active Oldest Votes. On Linux Os use command-line tool scp like this. Improve this answer. High Ball High Ball 2 2 bronze badges.
0コメント