1. To install Adobe Flash/Reader, enable canonical partner repository by running below command
$ sudo apt-add-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
2. Update the system and install Adobe Flash Player & Adobe Reader
$ sudo apt-get update
$ sudo apt-get install flashplugin-installer acroread
I hope it may helpful to install Adobe Flash Player & Adobe Reader on ubuntu 12.04 without any issues.
Tuesday, July 31, 2012
Install Adobe AIR on Ubuntu 12.04
1. Download Latest Version Adobe Air for Linux
$ wget http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin
2. Change the persmission of the file
$ chmod +x ./AdobeAIRInstaller.bin
3. Install Adobe Air
$ sudo ./AdobeAIRInstaller.bin
While installing if you get message about missing gnome-keyring or KDE Wallet, then run the below command to fix it
$ sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0/usr/lib/libgnome-keyring.so.0
$ sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0/usr/lib/libgnome-keyring.so.0.2.0
For 64-bit systems
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0/usr/lib/libgnome-keyring.so.0
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0/usr/lib/libgnome-keyring.so.0.2.0
Re-run installer again
I hope you have successfully installed Adobe Air, In case if your facing any issues let me know.
$ wget http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin
2. Change the persmission of the file
$ chmod +x ./AdobeAIRInstaller.bin
3. Install Adobe Air
$ sudo ./AdobeAIRInstaller.bin
While installing if you get message about missing gnome-keyring or KDE Wallet, then run the below command to fix it
$ sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0/usr/lib/libgnome-keyring.so.0
$ sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0/usr/lib/libgnome-keyring.so.0.2.0
For 64-bit systems
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0/usr/lib/libgnome-keyring.so.0
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0/usr/lib/libgnome-keyring.so.0.2.0
Re-run installer again
I hope you have successfully installed Adobe Air, In case if your facing any issues let me know.
Monday, July 30, 2012
Google-chrome-stable depends on libnss3-1d (>= 3.12.3); And Google-chrome-stable depends on libxss1;
When you trying to install google chrome on Ubuntu 12.04, you may end up with this error message
$ dkpg -i google-chrome-stable_current_i386.deb
Google-chrome-stable depends on libnss3-1d (>= 3.12.3); however;
Package libnss3-1d is not installed.
Google-chrome-stable depends on libxss1; however;
Package libxss1 is not installed
dkpg: error processing google-chrome-stable (--install)
To fix this issue you need to install those missing packages. Here are commands to install those packages
$ sudo apt-get install libnss3-1d:i386
$ sudo apt-get install libxss1:i386
Then try
$ dkpg -i google-chrome-stable_current_i386.deb
I hope this time you can able to install Google Chrome without any issues.
$ dkpg -i google-chrome-stable_current_i386.deb
Google-chrome-stable depends on libnss3-1d (>= 3.12.3); however;
Package libnss3-1d is not installed.
Google-chrome-stable depends on libxss1; however;
Package libxss1 is not installed
dkpg: error processing google-chrome-stable (--install)
To fix this issue you need to install those missing packages. Here are commands to install those packages
$ sudo apt-get install libnss3-1d:i386
$ sudo apt-get install libxss1:i386
Then try
$ dkpg -i google-chrome-stable_current_i386.deb
I hope this time you can able to install Google Chrome without any issues.
Rails 3 - Bundler
Bundler
Bundler is used to manage your application's gem dependencies. By default all Rails 3 application contains bundler gem.
If your applications need gems other than those belonging to Rails itself, you'll need to specify those gems into manifest file named Gemfile into the root of your Rails project directory.
Simple syntax to load gem
gem "paperclip"
gem "rspec"
Syntax to load gem on specific application environment
group :development, :test do
gem "rspec"
end
Syntax to load specific gem version
gem "rspec" , "1.2"
gem "rspec", "> 1.2"
Syntax to load gem form a Git Repository
gem "paperclip", :git => "git://github.com/thoughtbot/paperclip.git"
Installing Gems
Once you update the Gemfile then make sure you have installed all the dependencies in your Gemfile of Rails 3 applications.
$ bundle install
$ bundle install --without test
These commands will install all gem dependencies on your Rails 3 application which is specified on Gemfile.
Packing Gems
You can package up all your gems in the vendor/cache directory inside of your Rails 3 applications.
Here is the syntax to package up
$ bundle package
I hope you have some idea about Bundler and how it helpful in Rails 3 applications. If you need any clarifications please let me know.
Bundler is used to manage your application's gem dependencies. By default all Rails 3 application contains bundler gem.
If your applications need gems other than those belonging to Rails itself, you'll need to specify those gems into manifest file named Gemfile into the root of your Rails project directory.
Simple syntax to load gem
gem "paperclip"
gem "rspec"
Syntax to load gem on specific application environment
group :development, :test do
gem "rspec"
end
Syntax to load specific gem version
gem "rspec" , "1.2"
gem "rspec", "> 1.2"
Syntax to load gem form a Git Repository
gem "paperclip", :git => "git://github.com/thoughtbot/paperclip.git"
Installing Gems
Once you update the Gemfile then make sure you have installed all the dependencies in your Gemfile of Rails 3 applications.
$ bundle install
$ bundle install --without test
These commands will install all gem dependencies on your Rails 3 application which is specified on Gemfile.
Packing Gems
You can package up all your gems in the vendor/cache directory inside of your Rails 3 applications.
Here is the syntax to package up
$ bundle package
I hope you have some idea about Bundler and how it helpful in Rails 3 applications. If you need any clarifications please let me know.
Friday, July 27, 2012
Vaadin 6.8.1
Vaadin version 6.8.1 has been released. Here is more details about fixes/changes and downloads
http://vaadin.com/download/release/6.8/6.8.1/release-notes.html
http://vaadin.com/download/release/6.8/6.8.1/release-notes.html
Labels:
Java,
Java Frameworks,
Vaadin
Subscribe to:
Posts (Atom)