Posts

Showing posts with the label ubuntu

using Ubuntu

using Ubuntu copy files from your local host to a server scp PATHNAME_HERE  target-host:/PATHNAME_THERE scp -rp user1@host1:/filepath1 user2@host2:/filepath2 if you can not get "apt-get" done, that may be because your selected ubuntu mirror server is down. So what you need to do is change the mirror server.  Go to: System->Administration->Update Manager->Settings->Ubuntu Software->Download from, and check the active mirror servers and choose one. search files for some contents in a certain directory find . -type f|xargs grep -e "content" find file-path file-type | xargs grep "content" to see if some application has been installed or not command: $ type <package-name> command: $ apt-cache policy <package-name> setup sharing folder between Ubuntu(guest) and MacOS(host) using VirtualBox step 1: on your host OS, go to VirtualBox -> machine -> settings -> Shared Folders, add the folder, say folder1, you want to share with you...

Using OpenCV with Eclipse plugin CDT on Ubuntu

Image
Using OpenCV with Eclipse plugin CDT on Ubuntu OpenCV is written natively in C++ and has a templated interface that works seamlessly with STL containers. OpenCV library therefore, is extensively used with C++. Here, we will see how to use Eclipse with CDT Plugin on Ubuntu 14.04. We will use  OpenCV-2.4.11  and  Luna Eclipse for C/C++ developers . We start with downloading Eclipse and then configuring it with OpenCV libraries. We will also implement an a OpenCV program. I will assume that you have the OpenCV-2.4.11 installed on your Ubuntu System. However, if you do not have it installed or you are facing problems getting it done, you can refer to  Installing OpenCV-2.4.11 on Ubuntu . Lets start! Before we start, were going to need to download Eclipse. I use OpenCV with C ++, Then Im going to download the specific release to C / C ++ of Eclipse Luna: Eclipse IDE for C / C ++ Developers. Keep referring to the screenshots as you keep progressing through tutorial. T...

Using a US DOD CAC Card with Ubuntu 9 10

Using a US DOD CAC Card with Ubuntu 9 10 Superseded by http://cheesehead-techblog.blogspot.com/2015/10/cac-on-firefox-using-ubuntu-1504.html Adding a CAC Card reader and using a CAC card with Ubuntu used to be bloody hard. Getting the hardware recognized, getting the add-ons to Firefox and Evolution, installing the certificates, what a pain! Well, I tried agin, using the Ubuntu help center instructions at https://help.ubuntu.com/community/CommonAccessCard Result: I can log into AKO using my CAC Card! After four years of hoping. Hooray! download  file  now

Video How to make Ubuntu Linux more secure

Image
Video How to make Ubuntu Linux more secure With all the discussion about Internet security, here are some ideas on how to make your Ubuntu linux desktop more secure. Source: https://www.youtube.com/watch?v=H-c1LoVx0WY download  file  now

Using apt terminal command in Ubuntu

Using apt terminal command in Ubuntu Yes, you read that right, it is apt instead of apt-get . I was used with apt-get command to install, update and remove repositories packages. apt command compared to apt-get has a few advantages:  coloring and progress bar when you install or update a package. One downside of using apt command is the partial support of tab completion, which apt-get has mastered it. And I know that tab completion is very usefull. In terms of functionality, its almost the same as apt-get command. Even the commands are very similar. 1. Update repositories with apt: sudo apt update 2. List upgradable packages: sudo apt list --upgradable 3. Install/update a package: sudo apt install wget 4. Remove a package: sudo apt remove vim For more informations read the apt command manual: man apt download  file  now

Valves OpenGL debugger for Linux game devs created on Ubuntu

Image
Valves OpenGL debugger for Linux game devs created on Ubuntu It seems like Valve is not done yet when it comes to Linux and gaming. According to this recent blog post by Valves own Rich Geldreich, they are actively working on an OpenGL debugger aimed at Linux game developers which will also be open source.  VOGL: Valves OpenGL debugger for Linux OpenGL debugging has always lagged behind DirectX, mainly because of the excellent graphics debugging tools shipped with Visual Studio. But all that might change very soon with Valves active interest in the development of an alternative OpenGL debugger called VOGL.  The entire code for VOGL is written and tested on Linux, on Kubuntu 13.10, Ubuntu 12.04 and Linux Mint to be exact. Valves VOGL debugger was shown off at the Steam Dev Days conference held on 15th of this month at Seattle.  And the debugger will be open source. According to Rich Geldreich, "Were going completely open source - GL is just too large of an API (and changin...

Using Rom Collection Browser to play NES games on XBMC 12 with Ubuntu

Using Rom Collection Browser to play NES games on XBMC 12 with Ubuntu XBMC is by far my favorite IPTV software. I run it in my living room and use it to play my music collection and easily watch my entire DVD collection without ever needing to pop in CDs or DVDs. All my media is stored in a hard drive on my home server. I had toyed around with using the Rom Collection Browser plugin to play Nintendo games, but getting it working right is not a trivial task. After a lot of messing around I finally have it working right. These instructions are using XBMC 12 on Ubuntu 13.10 and fceux for the emulator. First things first. Never run with the version of XBMC packaged for Ubuntu. Team XBMC keeps an up to date version in their ppa at https://launchpad.net/~team-xbmc/+archive/ppa. You can set it up with the following commands. sudo add-apt-repository ppa:team-xbmc/ppa sudo apt-get update sudo apt-get install xbmc Next we need fceux to act as our NES emulator. You could install fceux wi...

Vanillux An Ubuntu Based GNU Linux Distribution that Comes With Gnome3!

Image
Vanillux An Ubuntu Based GNU Linux Distribution that Comes With Gnome3! Since were gonna be, somewhat missing the "Gnome support" in the future versions of Ubuntu (starting with the 11.10, although itll still be officially supported through online repositoreis but not in the CD/DVD) its about time that someone comes up with GNU/Linux distribution thats based on Ubuntu as the "core" yet uses the Gnome 3 or the Shell as the default desktop rather than the Unity interface. Its called Vanillux and its so new at the moment that its not stable thus not recommended for everyday usage. Now to be honest I havent tried it (yet) but the thing that got me excited, as said, it uses Ubuntu as the core + supports Gnome desktop only (both the classic and the new Shell). So basically if you (like me) happened to both hate and love Ubuntu at the same time then Im pretty sure that could be the sort of a community that is building the Vanillux Linux at the moment. According to their ho...

Using Rails Gem to Generate a New Project on Ubuntu

Using Rails Gem to Generate a New Project on Ubuntu Using the rails installed by apt-get was a bit confusing because the rails project being generated was not the rails version that I expected. I had installed the rails gem v2.2.2 but the config/environment.rb file showed rails v2.1. I fixed this issue by removing the default rails. sudo apt-get remove rails And then using an alias: export GEMDIR=`gem environment gemdir` export RAILS_VERSION=`gem list rails | grep "rails " | cut -b8- | awk {sub(/)/, "");print}` alias rails=ruby $GEMDIR/gems/rails-$RAILS_VERSION/bin/rails Now when I do rails dool The project uses the right version of rails! download  file  now

Using apt get terminal command in Ubuntu

Using apt get terminal command in Ubuntu By using apt-get terminal command in Ubuntu, you will be able to serach, install, update and remove Ubuntu applications from repositories. To resynchronize the package index files from their sources via Internet, also known as repositories. You need to do this after each edit of your repositories file /etc/apt/sources.list : sudo apt-get update To install the newest versions of all packages currently installed on the system: sudo apt-get upgrade Install is followed by one or more packages (programs) desired for installation. If package is already installed it will try to update to latest version. sudo apt-get install package-name To uninstall a package: sudo apt-get remove package-name To uninstall a package and remove all of its settings: sudo apt-get remove --purge package-name If you have terminated an installation, you can clean it with: sudo apt-get clean All the terminal options for apt-get can be found running: sudo apt-get --help It wil...

View available updates from terminal without updating the system Ubuntu

View available updates from terminal without updating the system Ubuntu I find it a faster way to install updates on my Ubuntu machine from terminal rather then using a GUI package manager. sudo apt-get update  // collects information on updated packages from the repos sudo apt-get upgrade // install upgrades for packages for which updates are available The commands above are cool, of course, and quick to type, but one thing always annoyed me - I could only see what was updated after I actually initialized the process of upgrading the system. Well, not cool (GUI package manager would show what packages are upgradable). How to view available updates from terminal without updating the system : apt-get --just-print upgrade apt-get -s upgrade These 2 show the very same output (they both simulate an upgrade, dont really do it). So the 2nd one is shorter to type. Another command for the same purpose: aptitude search ~U Anyway, I find a command like below a bit more logical when re...

Using Crontab in Ubuntu

Using Crontab in Ubuntu Crontab can run scripts at regular intervals and perform various tasks. Those intervals can be from 1 minute to 1 year, repeatedly. To list current crontabs: sudo crontab -l You can create a crontab file by entering the following terminal command: sudo crontab -e A crontab file has six fields for specifying minute, hour, day of month, month, day of week and the command to be run at that interval: * * * * * command to be executed - - - - - | | | | | | | | | +----- day of week (0 - 6) (Sunday=0) | | | +------- month (1 - 12) | | +--------- day of month (1 - 31) | +----------- hour (0 - 23) +------------- min (0 - 59) Some examples: * * * * * #Runs every minute */5 * * * * #Runs at every 5 minutes 30 * * * * #Runs at 30 minutes past the hour 45 6 * * * #Runs at 6:45 am every day 45 18 * * * #Runs at 6:45 pm every day 00 1 * * 0 #Runs at 1:00 am every Sunday 00 1 * * 7 #Runs at 1:00 am every Sunday 00 1 * * Sun #Runs at 1:00 am every Sunday 30 8 1 * * #Runs...

vi editor ubuntu terminal is not working properly

vi editor ubuntu terminal is not working properly Ubuntu terminal is not working properly in vi editor As we all know vi editor is one of the major editing tool for developers. Sometimes its obvious to handle the issue if its not response properly. There are few scenario where this kind of behavior occurs.  If you have newly installed the ubuntu , or you have not updated the terminal with latest update.  Just try to update the terminal by using below command. sudo apt-get update Now check your vi editor behavior , if not yet resolved then try the below command to install the vi (vim) editor. Install Vim Editor using below command :- sudo apt-get install vim Now check your vi editor, I hope its fixed. It worked for me and its working awasome :) Hope this will help you!!! Follow for more details on   Google+   and @Facebook !!! Find More :- How  to install Jboss Fuse on Linux ? How to install jd-gui (Java Decompiler with graphics mode)? How to install Jboss ...

Viewing CHM files in Linux With installation instructions for Ubuntu

Image
Viewing CHM files in Linux With installation instructions for Ubuntu CHM or Microsoft compiled HTML Help is a format developed by Microsoft for online help . Most of the documentation in Windows platform is in chm file format , also these days most of the ebooks available on the internet are either available in the chm file format or pdf file format . Now most of the distributions do not ship tools and libraries for viewing chm files by default since it is a proprietary format used by Microsoft Products , So if you want to read a ebooks which are in chm file format you have to install third party tools and libraries . In this short tutorial i try to describe how to install some of the tools for viewing CHM files on your Ubuntu desktop : 1. Gnochm Gnochm is a gnome based chm viewer that has the following features : - * Support for external ms-its links * Full text search support * Bookmarks * Configurable support for HTTP links * Integrated with GNOME2 * Support for multiple languages ...

Vagrant where are ubuntu boxes

Vagrant where are ubuntu boxes http://cloud-images.ubuntu.com/vagrant/ download  file  now

Using Lego Mindstorms NXT with Ubuntu Linux

Image
Using Lego Mindstorms NXT with Ubuntu Linux The Lego Mindstorms NXT brick is an incredibly versatile programmable brick consisting of a microcontroller inside a plastic casing with an LCD display, four buttons, a speaker and eight external connections. Unfortunately, though, it only ships with compilers for Legos "NXT-G" graphical language that run on Microsoft Windows and Apple Macintosh platforms. There is, however, a multitude of text-based languages available for the main platforms (Linux/Unix included). The variety of languages available is beyond the scope of this article, but there is an excellent page here that should provide enough information to get started. In this article I will be setting up the NBC/NXC compiler for use on Ubuntu Maverick (it should work on most current *nix releases, too - if not, please comment and well look into it). The first thing to do is make sure the NXT brick is recognised by the system. To do this we run: david@pinatubo:~$ lsusb|grep Le...

View 40 different Filetype like 3gp Avi Jpeg pdf ttf in Ubuntu Linux with Gloobus

View 40 different Filetype like 3gp Avi Jpeg pdf ttf in Ubuntu Linux with Gloobus By using a Nice utility Gloobus  you can view almost all file type. Gloobus is a free application for GNU / Linux . Gloobus-Preview is an extension for the Gnome Desktop  designed to enable a full screen preview of any kind of file.  It allows instant access to a variety of file types without the need of opening their default application. You can access the preview mode from several ways, right click on the file you want to preview and choose �Preview� o simply hit the Space key on your keyboard. Gloobus can currently preview over 40 file formats and its family is still growing: Images: jpeg / png / icns / bmp / svg / gif / psd / xcf Documents: pdf / cbr / cbz / doc / xls / odf / ods / odp / ppt Source: c++ / c# / java / javascript / php / xml / log / sh / python Audio: mp3 / ogg / midi / 3gp / wav Video: mpg /avi / ogg / 3gp / mkv / flv Other: folders / ttf / srt / plain-text How to ...