Download youtube videos to your computer on Linux

YouTubeYoutube is by far the most popular site for sharing videos. The only problem with uploading your videos to youtube is that there really is no easy way to download those videos back to your computer. Your only option than is to view them online. There are also times when you watch a video so hilarious/interesting that you want to keep a copy for your own use.

To get over these restrictions, a lot of people have written really neat utilities which let the user download videos directly from the site. In this post, we’ll be talking about one such utility for Linux.

Youtube-dl

Youtube-dl is a console only application which is the simplest utility I’ve found till now for downloading videos from youtube.

To install youtube-dl, if you’re using Ubuntu, use apt-get.

apt-get install youtube-dl

Now, using a browser, browse to the video that you want to download. Copy the URL of the video page.

Now, at the console, give the following command.

youtube-dl <URL of the video>

Youtube-dl

That’s all. youtube-dl will now download the video to your computer and save it in the default .flv format which Youtube uses to save it’s videos. FLV files can be easily played back on Linux using the excellent VLC media player.

How to install *.rpm files in Ubuntu

UbuntuUbuntu (and all Debian based) distributions use the .deb format for application packages and these days most developers writing applications for Linux provide a .deb package.

But, even then there might be times when you want to install an application which is available only in the .rpm format. If you use Ubuntu or any other Debian distribution, Alien might be able to help you.

Alien is a program that converts between the rpm, dep, stampede slp, and slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.

Alien is available in the Ubuntu repository so you can install it by using the following command

$ sudo apt-get install alien

To convert an rpm file to deb, use the following command

$ alien -d -k package.rpm

Where package.rpm is the rpm package that you want to convert. The ‘-k’ option is to tell alien to keep the same version number on the resulting .deb as the rpm file.

Alien can also convert .deb packages to .rpm and the command to do that is

$ alien -r package.deb

Where package.deb is the deb package that you want to convert.

Clone an Ubuntu system using Synaptic Markings

synaptic logoHow many times have you had to reinstall the OS on your computer and then had to install all your favorite pieces of software by hand. I’m sure it’s quite painful. And even more so when you forget to install a couple of software and then have to install them in a crunch when you need them the most.

The Synaptic Package Manager bundled with Ubuntu (and available for Debian and most other debian based distributions) has a very cool solution. Synaptic is a graphical package manager for debian based distributions and is the default package manager installed for Ubuntu and is quite popular on that platform.

Synaptic lets the user export (and import) a file which contains details of all the software that is installed on the system.

Continue reading “Clone an Ubuntu system using Synaptic Markings”

Configure Remote Access to your Ubuntu Desktop

ubuntu Ever tried helping your non-technical friends with their computer problems over phone. If yes, you know how irritating that can be. To solve the problem, Microsoft added an option to one of the Win XP service packs to let remote users take control of your system and made troubleshooting Windows systems much easier.

Microsoft on their part also heavily promoted this new feature and made it seem like something out of a Harry Potter novel.

Linux and cousins have had some kind of VNC server always installed to control remote desktops, but there was never a good GUI option to configure the VNC service. Ubuntu changed that.

Ubuntu has made configuring remote access to the desktop a breeze.

Continue reading “Configure Remote Access to your Ubuntu Desktop”