LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-14-2012, 05:47 PM   #1
jasonhrmeier
LQ Newbie
 
Registered: Mar 2012
Location: Long Beach
Distribution: Ubuntu 11.10
Posts: 7

Rep: Reputation: Disabled
Having trouble installing WINE


My favorite text editor for that other operating system is also available on Linux but I need WINE (Microsoft Windows Compatibility Layer) in order to install it. I tried using the Ubuntu software center (GUI) that comes with my distro but it always complains that I am offline no matter if I am wirelessly connected or connected by ethernet cable or both. My browser works fine but Ubuntu software center doesn't (most of the time).

I downloaded Notepad++ installer package but when I follow the readme instructions included in the tarball, I get the message that I need to have WINE installed. How can I install Wine from the command line so that I can finish the Notepad++ install?
 
Old 04-14-2012, 08:04 PM   #2
jonnynitro138
Member
 
Registered: Jul 2011
Location: tallahasee
Posts: 253

Rep: Reputation: Disabled
how to get aps

Open the terminal and type "sudo apt-get install wine" without the quotes. You may also be prompted for a password if you made yourself one, it's the same as your log-in password. Sudo makes you the root, you can also use sudo su to become the root, and yes if you have a password you'll be asked for it here as well. One of the nice things of using sudo su is that if you are going to use a lot of administrator commands you won't have to keep entering your password. I hope this helps it's the first response I've made
Jonnynitro138
ps you may want to check out Komodo 7, or Komodo IDE. I don't have a lot of information about this yet or experience, but I was looking for a text writer for linux so I wouldn't have to use wine and this is one of the programs that I have found.

Last edited by jonnynitro138; 04-14-2012 at 08:08 PM.
 
1 members found this post helpful.
Old 04-14-2012, 10:44 PM   #3
jasonhrmeier
LQ Newbie
 
Registered: Mar 2012
Location: Long Beach
Distribution: Ubuntu 11.10
Posts: 7

Original Poster
Rep: Reputation: Disabled
Worked like a charm, thanks. Now more questions?

I've heard of apt-get and even used it a few times but how did my computer know where to go to find all the packages that it installed? Does part of the Linux distribution that I have include a list of package locations on the web that, when I give the command, the shell retrieves nessicary files and installs?

The shell also warned me that certain packages couldn't be verified. I assume that the developers didn't register their software with the proper channels, but I trust them. Are Linux viruses very common out there?

Should I close other windows before performing an install?

I was writing the above while wine was installing, which it did. I went to install notepad++ as per the readMe file that was included and it failed. Here is the output from Notepad++ after I installed wine:

Code:
Do you have Wine installed? y/n >>> y
--2012-04-14 20:30:24--  http://easynews.dl.sourceforge.net/sourceforge/notepad-plus/npp.4.3.Installer.exe
Resolving easynews.dl.sourceforge.net... 69.16.168.245
Connecting to easynews.dl.sourceforge.net|69.16.168.245|:80... failed: No route to host.
wine: created the configuration directory '/home/jason/.wine'
wine: cannot find './npp.4.3.Installer.exe'
You may be able to find a shortcut in your menu know. Otherwise, you can find NPP in your ~/.wine subdirectory
What it looks like to me is that the link in the python script (easynews.dl.sourceforge.net|69.16.168.245|:80) was an old link therefore the software didn't install. I feel like I'm starting to get the hang of this but please tell me if I still don't have a clue. :P Thank you.
 
Old 04-14-2012, 11:04 PM   #4
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
Keep in mind windows virus can run via wine. Still may not have the ability to gain root access but may potentially allow a infection local to your account. So play safe.

Anyways using ubuntu this was my prefered way to install wine.
http://www.winehq.org/download/ubuntu
 
Old 04-15-2012, 03:16 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
jasonhrmeier
i think you will find that "Gedit" is a much better general text editor

and is installed already if you are using Gnome
even if you are using KDE it might be installed
then there is Emacs .

or even " vi" but that is a whole new ball of wax.
 
Old 04-15-2012, 02:28 PM   #6
jonnynitro138
Member
 
Registered: Jul 2011
Location: tallahasee
Posts: 253

Rep: Reputation: Disabled
Installing Apts

Okay now you have wine. I can not help you much further than that. Your next question to ask (newbie myself) is how to install and use programs in wine. The principle with wine is that your windows program will run through it, which you know. An error that I am seeing is that you haven't created a location for your windows programs or the installer. I have found some websites that may help you : http://www.psychocats.net/ubuntu/wine, http://ubuntuforums.org/showthread.php?t=1881195 (eh), http://askubuntu.com/questions/12085...rstanding-wine, and http://wiki.winehq.org/FAQ (there's a lot of answers here it's wine's wiki site).
I hope this helps.
Jonnynitro138
 
Old 04-16-2012, 01:12 AM   #7
jasonhrmeier
LQ Newbie
 
Registered: Mar 2012
Location: Long Beach
Distribution: Ubuntu 11.10
Posts: 7

Original Poster
Rep: Reputation: Disabled
I have used GEdit for about 12 hours, and EMacs too. I am able to use them both (I'm ok with vi too) but Notepad++ has features that I really like which aren't available with those other editors. If I ever starting writing systems software I will learn vi and realize that it is capable of working much faster but at my current skill level, it's usable but slow. At this time however, I find Notepad++ to be my favorite. One of my favorite features is that when you highlight one string of characters, all other matching strings are highlighted a slightly lighter shade. The windows version has lots of neat and customizable features that I haven't seen on any other editor yet. I haven't seen Komodo 7, or Komodo IDE so I may check those out. The thing I like about computers is that you can make them work for you, I would prefer learning to do what I want instead of changing for the system.
 
Old 04-16-2012, 07:19 PM   #8
jonnynitro138
Member
 
Registered: Jul 2011
Location: tallahasee
Posts: 253

Rep: Reputation: Disabled
reply to jasonhrmeier

Perhaps a virtualbox may be a good idea for the time being since you are familiar with a particular OS already. Its not hard to use, but you need the OS on a DVD, and it has a walk through step by step proccess. The virtualbox (VirtualBox) will run windows or any other OS in it. I use it for trying out other operating systems. I like to see whats availabe and user freindly or made for a specific task. You can get the virtualbox from the ubuntu software store or by using the terminal apt-get install virtualbox. The reason that I like it is because another OS is running while you still have your desktop for ubuntu. Don't give up on wine its better than running a whole OS for just one program, but you'll get started faster while you are learning to use wine.

Jonnynitro138
PS was the http://wiki.winehq.org/FAQ a helpful site?
 
Old 04-23-2012, 04:35 AM   #9
jasonhrmeier
LQ Newbie
 
Registered: Mar 2012
Location: Long Beach
Distribution: Ubuntu 11.10
Posts: 7

Original Poster
Rep: Reputation: Disabled
So much for learning Linux here I guess.
 
Old 04-23-2012, 05:11 PM   #10
jonnynitro138
Member
 
Registered: Jul 2011
Location: tallahasee
Posts: 253

Rep: Reputation: Disabled
reply to reply

Don't give up yet. What I have noticed is that you have not resubmited a new question "how to install notepad++ in wine?" I learned this from a previous question I asked myself "can you install ALEKS in ubuntu 11.10" I got plenty of yes answere but I didn't get a how to. It wasn't until I asked a new question "How to install ALEKS in ubuntu 11.10" that I got directions on how to.
I am not usually for long words but this is a good site to learn the mechanics and how to's for linux. There are other sites http://ubuntuforums.org linux-questions.com linuxfloat.org and some others, but this one, that we are on, in my opinion answer the questions that I have in great detail and with good direction.
Remember at first people can only read your title to your thread. I wish I could have been more help, but I don't know how to use wine myself.
Thank you
Jonnynitro138
 
Old 04-23-2012, 06:42 PM   #11
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,887
Blog Entries: 28

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Cool

Quote:
Originally Posted by jasonhrmeier View Post
So much for learning Linux here I guess.
READ the available Ubuntu docs, there are a ton of them.

Official Ubuntu Documentation : https://help.ubuntu.com/
UserDocumentation - Community Ubuntu Documentation : https://help.ubuntu.com/community

If you really want to learn then don't use windows programs, find a linux app that does more or less the same thing.

Eight years of running Debian and not once have I missed a Windows program.

scribes - simple, slim and sleek, yet powerful text editor for GNOME
scite - Lightweight GTK-based Programming Editor
jedit - Plugin-based editor for programmers
kate - K Advanced Text Editor
cream - VIM macros that make the VIM easier to use for beginners
gedit - official text editor of the GNOME desktop environment
gedit by-the-way has a ton of plugins available.
 
  


Reply



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
Trouble Installing Wine on Ubuntu 8.04 mloyd Linux - Newbie 3 06-25-2008 05:08 PM
Trouble Installing Wine Barnes Linux - Newbie 7 07-05-2007 03:47 AM
trouble installing WINe sp00kri0t Linux - Newbie 2 11-22-2005 08:34 PM
trouble installing a game through wine syphoncode.32 Linux - Newbie 1 10-21-2004 06:15 AM
Trouble installing Wine jkt Linux - Software 16 11-05-2003 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 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
Open Source Consulting | Domain Registration