Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
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
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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.