LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-26-2010, 10:29 AM   #1
maydayberry
LQ Newbie
 
Registered: Dec 2010
Location: Czech Rep.
Distribution: Xubuntu 10.04
Posts: 11

Rep: Reputation: 0
Arrow I really don't know how to install MyPaint


Hello everyone,

it's quite embarrassing to ask for me, it's my first question here, but I really need someone's help.

My distribution - Xubuntu 9.10. I have it about six months, maybe longer.

I need MyPaint for my schoolwork. But I realized I don't know what to do with it.

Add/Remove Apps - simply, it isn't here. Synaptics - the same situation. So I downloaded .tar.bz2 file, but I don't know what to do with it. If I open it, there's just a lot of files and directories. In readme there's nothing useful for me, just some tips for using MyPaint in Windows. I didn't know in which directory I should have save it, too.

I tried this two commands :
Code:
sudo add-apt-repository ppa:tillux/t-misc
and this
Code:
sudo apt-get update && sudo apt-get install mypaint
.

Something happened, but in the end it wrote just this error - don't know how it was correctly - some index files were not downloaded, they are ignored or there are used older versions.
Yes, I use Linux quite a long time against some fresh newbies, but I'm still finding some hard nuts to crack.

Thanks for your help and sorry for your wasted time.

P.S. I don't know if the latest version (0.9) would work, so it can be older (0.8). Anyway, a step-by-step help would be really great.

Last edited by maydayberry; 12-26-2010 at 10:45 AM.
 
Old 12-26-2010, 10:45 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
A link to the application would have been helpful.

http://mypaint.intilinux.com/

Here is a link to the download page.

http://mypaint.intilinux.com/?page_id=6

Here is a link to the Linux packages.

http://wiki.mypaint.info/index.php?t...ng#GNU.2FLinux

According to the last page this application is in the Ubuntu 10.04 repositories and following versions. This means that you should be able to add the proper repository and then use Synaptics to install the application.

Here is the appropriate Ubuntu page for reference.

http://wiki.mypaint.info/index.php?t...ng#GNU.2FLinux

Here is my Ubuntu /etc/apt/sources.list with comments removed.
Code:
deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted

deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

deb http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
It looks like you want to add the universe repository to your Synaptics list. It also looks like you want to install both MyPaint and MyPaint Data for extra brushes.

It also looks like you could use the repositories for 10.10 or 11.04 so you can match whichever version of Xubuntu you are using.

Last edited by stress_junkie; 12-26-2010 at 10:48 AM.
 
Old 12-26-2010, 05:55 PM   #3
maydayberry
LQ Newbie
 
Registered: Dec 2010
Location: Czech Rep.
Distribution: Xubuntu 10.04
Posts: 11

Original Poster
Rep: Reputation: 0
-

I'm afraid it doesn't work well. When I saved the source list (first I overwrote my source list and then I tried to save it to directory sources.list.d - with Opera sources) and then I ran Synaptics, there was an error in both cases - too many sources, unable to use and similar errors. So I quickly put it back how it was before.

Does someone (you, stress_junkie, too) know anything else ? I'm thinking about this way - just download it in .tar.bz2, save to the right directory and then install as an usual package. Is it possible in this kind of way or am I just trying to do something impossible or simplify something difficult ?
 
Old 12-26-2010, 06:12 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
I just noticed that you are using 9.10 of Xubuntu so that is one version behind my Ubuntu. My Ubuntu is Lousy Layabout so you must be using Krusty Kancer. I don't know if MyPaint is in that repository.

So this is basically how you handle tar.bz files.

Download the file into its own directory such as $HOME/Downloads/mypaint.

Open Nautilus and navigate to that directory.

Select that file and right click with the mouse.

Select "Open With" the archive manager.

Select "Extract" and extract into the same directory.

What you do next depends on what is extracted. It might be a binary. It might be a deb file. It might be source files.

When I look at the My Paint web page I don't see any tar.bz files available for Linux. What is the URL of the web page from which you obtained this tar.bz file?

Or it would just be easier if you upgraded to a newer version of Xubuntu. I like Lousy Layabout but you could use Moronic Morlock.

Last edited by stress_junkie; 12-26-2010 at 06:18 PM.
 
Old 12-26-2010, 06:25 PM   #5
djtoltz
Member
 
Registered: Nov 2003
Location: Eastern North Carolina, USA
Distribution: Mandrake
Posts: 51

Rep: Reputation: 20
If you have downloaded a source bundle, after you extract the files from the .tar.gz file, you can navigate your shell into the folder with the sources and try "./configure". If that results in a series of messages, and ends in success, you can next execute "make". If that completes successfully, your next step is to "sudo make install", because the install requires access to system folders.

Having said that, you might need to fist install dependencies, and some of what you install could be redundant with software already loaded on your system. The cleanest solution is to use the apt-get option, if you can. However, you should be able to install from the source bundle if you don't mind downloading some dependencies and possibly having some redundant code on your system.
 
Old 12-27-2010, 05:09 AM   #6
maydayberry
LQ Newbie
 
Registered: Dec 2010
Location: Czech Rep.
Distribution: Xubuntu 10.04
Posts: 11

Original Poster
Rep: Reputation: 0
The download link is here
Code:
http://download.gna.org/mypaint/mypaint-0.9.0.tar.bz2
Well, I extracted it. But is it a source file or not ? Some scripts, directories with brushes, backgrounds and so on ---

I've never tried to install something in this way, so I don't know how the source file looks like...

Upgrading is the last thing I would do, I still hope I will solve it with your help without upgrade.
 
Old 12-27-2010, 05:35 AM   #7
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
I downloaded the same tar.bz file and looked inside it. The instructions are inside the file named README. However I don't understand the instructions.
Quote:
Building on Linux:

Compile and run:
scons && ./mypaint

Install:
scons prefix=/usr/local install

Required: pygtk, python, swig, gtk, numpy, pycairo(>=1.4), libpng
Debian users: apt-get install g++ python-dev libglib2.0-dev python-numpy swig scons gettext libpng12-dev

Recommended: a pressure sensitive input device (graphic tablet)
I don't know what scons is. I tried looking it up. Google lists many links related to Linux console but none of those links contains "scons" so I don't know what it is.

Last edited by stress_junkie; 12-27-2010 at 05:36 AM.
 
Old 12-27-2010, 05:38 AM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by stress_junkie View Post
I downloaded the same tar.bz file and looked inside it. The instructions are inside the file named README. However I don't understand the instructions.

I don't know what scons is. I tried looking it up. Google lists many links related to Linux console but none of those links contains "scons" so I don't know what it is.
http://www.scons.org/wiki/Frequently...1c45b56f4c76d1

Also, to the OP: if you're going to go and download software from the project's website, you should always look there for installation instructions, as well as inside tarballs you download (as stress_junkie did for you).

Last edited by Nylex; 12-27-2010 at 05:40 AM.
 
1 members found this post helpful.
Old 12-27-2010, 06:00 AM   #9
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
@Nylex: Thank you for finding that. As I look further at the instructions I see that scons is included in the apt-get install command.

@maydayberry: Now the instructions make sense to me.

The first thing that you must do is ensure that all of the required packages are installed. These are listed near the bottom of the instructions that I quoted. This is what you should do.

Open a terminal window and enter the following command.
Code:
sudo apt-get install g++ python-dev libglib2.0-dev python-numpy swig scons gettext libpng12-dev
Enter your normal user password when it asks for a password.

That command will install the other packages that My Paint requires.

Once you have done this then you can follow the other instructions in the README file except that you may have to use sudo in front of the scons command that installs the software.

In the terminal window you will have to navigate to the directory that contains the extracted tar.bz file. Once you are there you can enter the following commands.
Code:
scons && ./mypaint

sudo scons prefix=/usr/local install
This will install the My Paint software in the /usr/local directory. In order to run the software you will have to find the main binary of the program and run it. It will look something like this.
Code:
/usr/local/mypaint/mypaint
I don't know the exact path because I didn't install My Paint using this method so it is not located there on my system.

Last edited by stress_junkie; 12-27-2010 at 06:04 AM.
 
Old 12-27-2010, 06:10 AM   #10
maydayberry
LQ Newbie
 
Registered: Dec 2010
Location: Czech Rep.
Distribution: Xubuntu 10.04
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
*** No SConstruct file found
SCons is a software construction tool—that is, a superior alternative to the classic "Make" build tool that we all know and love. ...a superior alternative does nothing, so I wrote 'make'. Result = no target specified and no makefile found.
So, how to specify the target and how to find makefile/scon file...could it help or not ?

(And finally - how high is my chance to run this program with my low skills before 15th January ?)

//////
Okay, stress_junkie, I will try it.

///////
Result of my efforts :
Code:
python-dev (and other like 'python numpy', 'scon'...) is newest version
E: I cannot get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: I cannot lock directory for downloading
It looks like I can't go on, if there's a problem with first command.

Last edited by maydayberry; 12-27-2010 at 06:22 AM.
 
Old 12-27-2010, 07:32 AM   #11
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Quote:
Originally Posted by maydayberry View Post
It looks like I can't go on, if there's a problem with first command.
Try putting sudo in front of the first command.
 
Old 12-27-2010, 08:33 AM   #12
maydayberry
LQ Newbie
 
Registered: Dec 2010
Location: Czech Rep.
Distribution: Xubuntu 10.04
Posts: 11

Original Poster
Rep: Reputation: 0
I almost always write 'sudo' before a command (if I am not logged in as root), but thanks anyway.

Maybe I've found something - I downloaded it as .deb (version for 9.10 is 0.8.2 - but I had to add new software source, thanks to you I knew how and where) and installed with Synaptic (together with 'protobuf-compiler' and 'python-protobuf', they were necessary dependences) - but it doesn't run. The icon is in the menu, but when I click, nothing happened.
Now I am downloading some actualizations, so I will wait, maybe it helps.

/////////////////

Well, well. I have it like 'installed', but I cannot run it.
I restarted computer - nothing, still the same.

Last edited by maydayberry; 12-27-2010 at 08:47 AM. Reason: progress in situation
 
Old 12-27-2010, 08:51 AM   #13
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Let us know what happens.

I ran My Paint on my computer. I like it.
 
Old 12-27-2010, 09:28 AM   #14
maydayberry
LQ Newbie
 
Registered: Dec 2010
Location: Czech Rep.
Distribution: Xubuntu 10.04
Posts: 11

Original Poster
Rep: Reputation: 0
Again and again - I click, HDD light starts to flash like when I run other app, but nothing happened.
Restart doesn't help, as I wrote.
One positive thing - I have actualizations, but I "haven't" MyPaint. You know, I have it, but it looks like there's nothing.
 
Old 12-27-2010, 09:31 AM   #15
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Have you tried running it from a terminal to check for errors?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: MyPaint- A fast and easy opensource graphics application for digital painters LXer Syndicated Linux News 0 11-08-2010 10:00 AM
LXer: MyPaint hits 0.9 and is looking good LXer Syndicated Linux News 0 11-04-2010 06:20 AM
LXer: Open Source painting with MyPaint LXer Syndicated Linux News 0 04-02-2010 05:30 PM
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 05:49 AM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 12:07 AM


All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration