Pages

Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Wednesday, May 28, 2014

Tutorial: Install Photoshop on Ubuntu 14.04

This article is based on http://ajwebdesigner.in/blog/install-photoshop-cs6-on-linux-ubuntu-13-04/ and I made adjustment and notes based on my own experience.

I have use Ubuntu since Ubuntu 12.04 LTS and now Ubuntu 14.04 LTS. As you can see on the original article, this tutorial written for Ubuntu 13.04, but, I have done this many times on Ubuntu 12.04LTS and Ubuntu 14.04LTS without any serious issues (...or not yet found :D ).

What is needed:
1. Internet Connection with huge internet quota (we are gonna need <1GB, but prepare to 1-3GB quota)
2. Install bit torrent client from Ubuntu Software Center. I use Transmission BitTorrent Client.


What you need to know:
1. All command done in Command Line/Console/Terminal. Press CTRL+ALT+T to open it
2. One line of command begins with ~$ thecommand sign
3. Please copy-paste thecommand only, without ~$ sign
4. Do it sequentially
5. Do it on your own risk


LET'S BEGIN

Install Wine
1. Add specific repository for wine
     ~$ sudo add-apt-repository ppa:ubuntu-wine/ppa

2. Update your software database
     ~$ sudo apt-get update

3. Install wine
     ~$ sudo apt-get install wine1.5


Change wine prefix
If  we use default wine prefix, then wine will set it's prefix based on the Operating System architecture.
For example, if we use Ubuntu 64bit, then default wine prefix is 64bit.
Once we set wine prefix to an architecture, to 32bit for example, then all installed application on wine should be 32bit.
You cannot install 64bit application on 32bit wine prefix, or vise versa. The installation may runs well, but you will find lots and lots bugs when you runs the application latter on.

1. Delete default wine prefix at /home
     ~$ rm -rf .wine

2. Set wine prefix to your photoshop architecture (I use 32bit)
     ~$ WINEARCH=win32 WINEPREFIX=~/.wine winecfg


Install Dependencies Photoshop
Photoshop needs lots of windows library such as Internet Explorer, Visual C, msxml, etc. We need to use winetricks to ease the process.

Winetricks will help us check weather needed library is already installed, if not, it will download and install needed library automatically. Some library need human interaction, but don't worry, it's as simple as clicking Next, next, finnish (you know what I mean :D)

3 steps to use winetricks
1. Download winetricks
     ~$ wget http://kegel.com/wine/winetricks

2. runs winetricks to install libraries
     ~$ sh winetricks -q atmlib gdiplus ie6 vcrun2005sp1 vcrun2008 fontsmooth-rgb corefonts msxml3 msxml6 vcrun2010

3. Repeat no 2 above until you see:
     Executing w_do_call vcrun2010
     vcrun2010 already installed, skipping


Copy Windows DLL
Use browser and file manager to do these 2 command
2. Extract, Copy-paste odbc32.dll AND odbcint.dll to .wine/drive_c/windows/system32/ on your home directory


Install Photoshop
Finally, Installing Photoshop. For those who has the CD you can simply right click on setup.exe and choose Open with wine windows loader, then do the install process like you did on windows.


Run winetricks once more to make sure windows fonts are loaded.
     ~$ winetricks fontsmooth-rgb

To run Photoshop, you can use desktop shortcut or through Terminal
     ~$ wine '/home/namakamu/.wine/drive_c/Program Files/Adobe/Adobe Photoshop CS6/Photoshop.exe'


DONE!
Hope this help someone, and dont forget to leave your comments below, cheers... :)


Saturday, April 26, 2014

Tutorial: Install Photoshop di Ubuntu 14.04

Bismillahirahmanirahim

Sumber tutorial bisa dilihat di http://ajwebdesigner.in/blog/install-photoshop-cs6-on-linux-ubuntu-13-04/. Artikel ini ditulis kembali dengan beberapa penyesuaian dan catatan berdasarkan pengalaman penulis.

Saya sendiri sudah menggunakan Ubuntu sejak versi 12.04 LTS, dan baru upgrade ke Ubuntu 14.04 LTS beberapa hari lalu. Seperti pada artikel aslinya, sebenarnya tutorial ini ditulis untuk Ubuntu 13.04, tapi sudah saya praktekkan pada Ubuntu 12.04 LTS dan Ubuntu 14.04 LTS dan digunakan secara rutin tanpa menemukan adanya issue yang berarti (atau setidaknya belum ketemu).

Yang perlu disiapkan:
1. Koneksi internet yang memadai
    Koneksi internet yang memadai hukumnya wajib pada proses instalasi. Memadai dalam hal kecepatan dan kuota.
    File yang perlu di download sebenarnya tidak begitu besar (< 1GB) tapi ada baiknya menyiapkan paket internet dengan kuota diatas 5GB (Paket cdma ada yang 100rb untuk 7GB, kalo gak salah y)

2. Install bit torrent client dari Ubuntu Software Center. Saya menggunakan Transmission BitTorrent Client.


Yang perlu diperhatikan:
1. Semua perintah di lakukan di console/terminal. Untuk membuka terminal tekan CTRL+ALT+T
2. Satu baris perintah diawali dengan tanda ~$ perintah 
3. Copy-pastekan perintah nya saja tanpa tanda ~$ di terminal
4. Lakukan secara bertahap sesuai nomor
5. Lakukan atas resiko pribadi


Mari kita mulai

Install Wine
1. Menambahkan repositori khusus wine
     ~$ sudo add-apt-repository ppa:ubuntu-wine/ppa

2. Update database software
     ~$ sudo apt-get update

3. Install wine
     ~$ sudo apt-get install wine1.5


Merubah prefix wine
Jika kita menggunakan wine prefix default, maka wine akan menggunakan prefix yang mengikuti OS nya. Jadi kalau kita menggunakan ubuntu 64bit, maka wine prefix yang digunakan otomatis adalah yang 64bit.
Sekali kita set ke arsitektur 32bit misalkan, maka semua aplikasi yang di install di atas wine harus yang versi 32bit, begitu pula sebaliknya dengan yang 64bit. Jika anda menggunakan aplikasi 32bit dengan wine prefix 64bit, maka anda akan menemukan banyak sekali masalah.

Inilah yang saya alami pertama kali, saya menggunakan ubuntu 12.04 64bit LTS, dan menginstall Photoshop cs6 32bit menggunakan wine prefix default, singkat kata, banyak masalah!

1. Menghapus wine prefix default di home
     ~$ rm -rf .wine

2. Set wine untuk aplikasi 32bit
     ~$ WINEARCH=win32 WINEPREFIX=~/.wine winecfg


Install Dependencies Photoshop
Secara default, Photoshop membutuhkan banyak sekali library yang harus diinstall terlebih dahulu seperti library Internet Explorer, Visual C, msxml, dll. Nah instalasi dependencies ini dipermudah dengan script winetricks.

O iya, script winetricks ini otomatis akan mengecek apakah software yang dibutuhkan sudah tersedia atau belum, jika belum, maka script akan mendownload dan melakukan instalasi secara otomatis, kita hanya perlu menghandle dialog box yang terbuka yang kadang perlu input manual dari user.

Hanya ada 3 langkah menggunakan winetricks
1. Download winetricks
     ~$ wget http://kegel.com/wine/winetricks

2. Jalankan winetricks
     ~$ sh winetricks -q atmlib gdiplus ie6 vcrun2005sp1 vcrun2008 fontsmooth-rgb corefonts msxml3 msxml6 vcrun2010

3. Ulangi proses no 2 sampai layar di console berisi tulisan seperti di bawah
     Executing w_do_call vcrun2010
     vcrun2010 already installed, skipping


Copy DLL Windows
Gunakan browser dan file manager untuk melakukan 2 perintah ini
2. Extract, Copy-paste odbc32.dll dan odbcint.dll ke .wine/drive_c/windows/system32/ di home directory


Install Photoshop
Akhirnya masuk ke tahap akhir proses instalasi. Bagi yang memiliki CD nya bisa langsung klik kanan di file setup.exe dan pilih Open with wine windows loader, kemudian lakukan proses instalasi seperti biasa.


Jalankan winetricks sekali lagi untuk memastikan font windows sudah di load semua
     ~$ winetricks fontsmooth-rgb

Untuk menjalankan photoshop bisa melalui shortcut di desktop, atau melalui perintah
     ~$ wine '/home/namakamu/.wine/drive_c/Program Files/Adobe/Adobe Photoshop CS6/Photoshop.exe'


Penutup
Nah, gampang kan? Satu lagi alasan untuk meninggalkan windows dan beralih ke Linux :)

Semoga artikel ini bermanfaat, jangan lupa komentar dan share nya y :)

Wednesday, June 26, 2013

Installing OpenOffice on Ubuntu 12.04


Ubuntu 12.04 use LibreOffice as it's default office application, it's a great application, and I use it often, but sometimes you found bugs that cannot be tricked and the only way is to use other office application.

In my case, I receive an Microsoft Excell File in .xlsx format and when I open it, comments are all over the place. I search and search on google for solution, however none of them is one click solution on LibreOffice.

So I need to install another alternatives, and OpenOffice is the best alternate. Now, since it's not a default application, you cannot find it Ubuntu Software Center by default. So after googling a while, here is the simplest way to do it. This was taken from: http://askubuntu.com/questions/116590/how-do-i-install-openoffice-org-instead-of-libreoffice

sudo add-apt-repository ppa:upubuntu-com/office 
sudo apt-get update
sudo apt-get install openoffice

Cheers...



Batch Image Processing: XnView


Who doesn't know IrfanView on Windows? For me IrvanView is an application that saves me on numerous occasion when using simple image editing on Photoshop or Gimp is totally Time Consuming and not worth the purpose.

I'm not saying Photoshop or Gimp is awful image processing, it's just there are certain circumstances that using both application is too much for simple, but massive processing.

Here is for example. Every week, I receive hundreds of images of transaction need to be processed with certain settings, some are:
1. Put watermark image on every single image
2. Reduce the dpi down to 80% to prevent people print them on high resolution.

Rather than using full-featured (not to mention need high computer spec) application like Photoshop and Gimp, I'm looking as simple as possible application that can do what I wanted.

On Windows, I found IrfanView, but on Linux, I just found XnView.

XnView is a multi platform free application, which means, it available on Windows, Mac OS X and Linux.

I'm not a geek, just common people converting from Windows to Linux, I use Ubuntu 12.04 LTS that never been updated since first install, I'm the type of person that "Don't fix things that did not broken" :D

Struggling finding replacement for IrfanView on Linux, I found XnView mentioned on few forums and struggling installing it.

But then, I read on ubuntu forum archive a simple way to install it. Here is the link: http://ubuntuforums.org/archive/index.php/t-1919820.html

Here is how to install it via command line:
sudo add-apt-repository ppa:dhor/myway
sudo apt-get update
sudo apt-get install xnview

After install it, you can find the application on the Application List or just type xnview on the command line.

Try it, but don't ask me to help you troubleshoot, I'm as clueless as you in terms of troubleshooting, I'm just a common people pretending to be a geek :P



You may also like

Related Posts Plugin for WordPress, Blogger...