SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   PC Hardware/Software forum (https://www.subsim.com/radioroom/forumdisplay.php?f=235)
-   -   Ubuntu Linux questions (https://www.subsim.com/radioroom/showthread.php?t=230598)

Skybird 04-02-17 12:45 PM

I still have not figured out how to bind in a second Hd and then have not just data (archives for exmaple) stored there, but stuff being installed there. Okay, the second HD is bind into the system now, but I cannot install there, only manually store data and archives there.

All input I got on that in anothe forum so far tells me that this is to so easily possible. I have a hard time to bveleive that, since it would represent a monumental disadvantage of Linux, if true.

My laptop has a small SSD where Linux was preinstalled, and a 1 TB HD that I intended to use for installing working/gaming software. So far I ave not had any need to do so and only manually moved some mp3 and photo arhcives on the second, big HD. But if I would want to install some Steam-Linux games on the second HD with its much bigger storage capacity - how to do that?

This is one of the things that has driven me crazy so far.

Rockin Robbins 04-02-17 01:54 PM

Quote:

Originally Posted by Skybird (Post 2476391)
I still have not figured out how to bind in a second Hd and then have not just data (archives for exmaple) stored there, but stuff being installed there. Okay, the second HD is bind into the system now, but I cannot install there, only manually store data and archives there.

All input I got on that in anothe forum so far tells me that this is to so easily possible. I have a hard time to bveleive that, since it would represent a monumental disadvantage of Linux, if true.

My laptop has a small SSD where Linux was preinstalled, and a 1 TB HD that I intended to use for installing working/gaming software. So far I ave not had any need to do so and only manually moved some mp3 and photo arhcives on the second, big HD. But if I would want to install some Steam-Linux games on the second HD with its much bigger storage capacity - how to do that?

This is one of the things that has driven me crazy so far.

Did they actually tell you that couldn't be done? Foolish mortals. Here's the deal. The file tree in Linux isn't a literal file tree as we think of in Windows. In fact (play the mysterious music) EVERYTHING in Linux is a file: monitors, disk drives, printers, keyboards.........yikes.

Everything Linux does is organized into a tree and each part of that tree can live wherever you wish. If you make a partition and register it as /.home it's your home directory! The easy way to do this stuff is to identify the part of the tree that needs to live on another drive.

Here is some light reading that will blow what remains of your mind after reading the above. There basically is no Linux equivalent to Windows' \program files or \program files (x86) directories. Programs hang out in /bin or /sbin or /usr/bin or usr/share or /opt or /usr/local. That's fine. But then it gets crazy. Linux programs aren't little mutually exclusive universes. They share capabilities with each other by sharing all their libraries--the equivalent of Windows' .dll files.

So when I install 7zip in Linux, its functions are picked up and used by the Archive Manager, which picks up the ability to use 7zip files! so you better include /lib, /lib32 and /lib64 in your list of directories to move to the big mondo-drive.

Okay, you know what is good to move. Here's the plan. First you copy the directory you want moved to the other drive. Then you put a symbolic link in the Linux directory tree to have it look there.

So if you're moving /somedirectory to a new drive you'd do this
Code:

mv /somedirectory /media/otherdisk/somedirectory
ln -s /mnt/otherdisk/somedirectory /somedirectory

Your path to another drive may be /mnt/<diskname> instead of /media/.. like in Ubuntu. The first line moves the directory to your other disk and path of your choosing. I'd use cp (copy) instead of mv (move) because I'm just chicken that I'd break something.... Once it works you can delete the original directory with "rm /somedirectory."

The second line says make a link (symbolic) for your other disk directory into the tree of /somedirectory. Then whenever Linux needs to reference /somedirectory it will look where it lives, thanks to the symbolic link.

Rockin Robbins 04-02-17 02:33 PM

Vivaldi is configurable in a way both easy and comprehensive. It has Windows 10-like square corners, but is much more attractive than Windows 10 software. The one thing that's impressed me so far is how darned fast pages load. I haven't tried importing bookmarks yet.

It works bookmarks, history, downloads and other things you can add to a retractable side panel that's really neat. Then, for history, for instance, you can expand into a whole window. The way Vivaldi works history is really amazing, with graphs, top domains visited.....they really remade what a history is supposed to do.

http://i196.photobucket.com/albums/a...pshgo3gidb.png

Rockin Robbins 04-02-17 03:08 PM

And I just installed Veeam Agent for Linux in my machine, a kinda equivalent of my favorite backup, Veeam Endpoint Backup, for Windows.

http://i196.photobucket.com/albums/a...psbfkv8tep.jpg

Yes, it runs in a terminal window and does a proper disk image, not just a files backup. Looks great so far and I like running things in the terminal anyway.

Rockin Robbins 04-02-17 03:41 PM

Quote:

Originally Posted by Reece (Post 2476323)
Thanks for the heads up, looking at those files is a nightmare, I will wait till I know a lot more.
I now want to install Wine for Ubuntu 16.04 LTS, I got the Ubuntu Software Center to search and it seems to only come up with a development version 1.9.6. Should I install this?:hmmm:
I could just download it from firefox but again not sure of a suitable version.

Should I install version 2.0 this way:

sudo add-apt-repository ppa:ricotz/unstable
sudo apt update (I don't have a previous version, is this needed?)
sudo apt install wine2.0

Sorry, I missed this post. No, I wouldn't install it that way.

I'd use the same rules I use for installing software in Windows, plus hooking repositories into Ubuntu Software and Synaptic Package Manager whenever possible. That way Software Update will update these programs every time it runs and you never have to look for the latest version again. Always go direct to the source group that makes the program. Then hook their repositories to Ubuntu so you can just download them in Ubuntu Software or Synaptic Package Manager.

The place to get WINE stuff is Winehq. Go to this page and follow instructions:
Quote:

If you have previously installed a Wine package from another repository, please remove it and any packages that depend on it (e.g., wine-mono, wine-gecko, winetricks) before attempting to install the WineHQ packages, as they may cause dependency conflicts.

If your system is 64 bit, enable 32 bit architecture (if you haven't already):

Code:

sudo dpkg --add-architecture i386
Add the repository:

Code:

wget https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

Update packages:

Code:

sudo apt-get update
Then install one of the following packages:

Stable branch
Code:

sudo apt-get install --install-recommends winehq-stable
Development branch
Code:

sudo apt-get install --install-recommends winehq-devel
Staging branch
Code:

sudo apt-get install --install-recommends winehq-staging

Actually, once you get to "sudo apt-get update" after you do that you can search for and install the latest WINE from Ubuntu Software or Synaptic because you've integrated the download process into the operating system itself with that last command. I went for the development branch and have never been sorry I did.

Reece 04-03-17 02:17 AM

Thanks for that RR, I know nothing about commands yet, getting through the books but a way off yet.:yep:
Well if all goes well Wine should work, not game to try it yet.
This is what I did, entered the following commands:
sudo dpkg --add-architecture i386

wget https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

sudo apt-get update

Then used Ubuntu Software Center to search and install Wine development version, Hopefully that is correct.:oops::yep:

I noticed an app called "Configure Wine", what do you think of that?
If I install that do I need to run any commands?:hmmm:
Thanks again.

Edit:
Whoops I fluffed that up, I have that "Configure Wine" application in the installed list in Ubuntu Software Center with an "Install" button, not a "remove" button, if I am not to install it how do I get the app out of the installed list?

BarracudaUAK 04-03-17 02:34 AM

Quote:

Originally Posted by Reece (Post 2476323)
Thanks for the heads up, looking at those files is a nightmare, I will wait till I know a lot more.
I now want to install Wine for Ubuntu 16.04 LTS, I got the Ubuntu Software Center to search and it seems to only come up with a development version 1.9.6. Should I install this?:hmmm:
I could just download it from firefox but again not sure of a suitable version.

Should I install version 2.0 this way:

sudo add-apt-repository ppa:ricotz/unstable
sudo apt update (I don't have a previous version, is this needed?)
sudo apt install wine2.0

Quote:

Originally Posted by Rockin Robbins (Post 2476422)
Sorry, I missed this post. No, I wouldn't install it that way.

I'd use the same rules I use for installing software in Windows, plus hooking repositories into Ubuntu Software and Synaptic Package Manager whenever possible. That way Software Update will update these programs every time it runs and you never have to look for the latest version again. Always go direct to the source group that makes the program. Then hook their repositories to Ubuntu so you can just download them in Ubuntu Software or Synaptic Package Manager.

The place to get WINE stuff is Winehq. Go to this page and follow instructions:


Actually, once you get to "sudo apt-get update" after you do that you can search for and install the latest WINE from Ubuntu Software or Synaptic because you've integrated the download process into the operating system itself with that last command. I went for the development branch and have never been sorry I did.


Due to external interference, my update from Fedora 24 to 25 failed, so I had to install 25 from disk, so my Ubuntu Virtual Machine isn't functioning at this time....

1.9.6 isn't a 'bad' version, it is just 1 year old.
Depending on which program you are trying to run, newer, is not necessarily better.
I say this because the Steam DX11 version of Red Faction Guerilla ran great in DX11 mode in 1.9.8, but 1.9.9, all the way up to the current 2.3 (that I have installed) it no longer works. Although, the DX9 mode still works well.
This is what is known as a "regression".

However, WINE 2.0 is a STABLE release.

Unstable "branches" may not be "unstable", but they are not tested enough to be "sure".

Usually what the "package maintainers" do, is exactly what RR quotes, they setup the "package" to do the work for you.
In addition to a few other things, such as testing for bugs.

I don't have to install the 32bit libraries as this is done by default with the Fedora repositories.
This is one of the reasons that I like Fedora, I don't have to do all the work.

If it works for RR and he has the same version as you, then you should be good to go.
BUT, YMMV.

If you just want to get familiar with WINE, then installing 1.9.6 would be a good place to start. Really easy to remove at that point.

Quote:

Originally Posted by Skybird (Post 2476391)
I still have not figured out how to bind in a second Hd and then have not just data (archives for exmaple) stored there, but stuff being installed there. Okay, the second HD is bind into the system now, but I cannot install there, only manually store data and archives there.

All input I got on that in anothe forum so far tells me that this is to so easily possible. I have a hard time to bveleive that, since it would represent a monumental disadvantage of Linux, if true.

My laptop has a small SSD where Linux was preinstalled, and a 1 TB HD that I intended to use for installing working/gaming software. So far I ave not had any need to do so and only manually moved some mp3 and photo arhcives on the second, big HD. But if I would want to install some Steam-Linux games on the second HD with its much bigger storage capacity - how to do that?

This is one of the things that has driven me crazy so far.

Quote:

Originally Posted by Rockin Robbins (Post 2476402)
Did they actually tell you that couldn't be done? Foolish mortals. Here's the deal. The file tree in Linux isn't a literal file tree as we think of in Windows. In fact (play the mysterious music) EVERYTHING in Linux is a file: monitors, disk drives, printers, keyboards.........yikes.

Everything Linux does is organized into a tree and each part of that tree can live wherever you wish. If you make a partition and register it as /.home it's your home directory! The easy way to do this stuff is to identify the part of the tree that needs to live on another drive.

Here is some light reading that will blow what remains of your mind after reading the above. There basically is no Linux equivalent to Windows' \program files or \program files (x86) directories. Programs hang out in /bin or /sbin or /usr/bin or usr/share or /opt or /usr/local. That's fine. But then it gets crazy. Linux programs aren't little mutually exclusive universes. They share capabilities with each other by sharing all their libraries--the equivalent of Windows' .dll files.

So when I install 7zip in Linux, its functions are picked up and used by the Archive Manager, which picks up the ability to use 7zip files! so you better include /lib, /lib32 and /lib64 in your list of directories to move to the big mondo-drive.

Okay, you know what is good to move. Here's the plan. First you copy the directory you want moved to the other drive. Then you put a symbolic link in the Linux directory tree to have it look there.

So if you're moving /somedirectory to a new drive you'd do this
Code:

mv /somedirectory /media/otherdisk/somedirectory
ln -s /mnt/otherdisk/somedirectory /somedirectory

Your path to another drive may be /mnt/<diskname> instead of /media/.. like in Ubuntu. The first line moves the directory to your other disk and path of your choosing. I'd use cp (copy) instead of mv (move) because I'm just chicken that I'd break something.... Once it works you can delete the original directory with "rm /somedirectory."

The second line says make a link (symbolic) for your other disk directory into the tree of /somedirectory. Then whenever Linux needs to reference /somedirectory it will look where it lives, thanks to the symbolic link.


Skybird,

As far as installing Steam games to another drive, you can in the steam settings, tell it to install the games to another directory.

On the menu bar:
Steam --> Settings
Downloads tab: "STEAM LIBRARY FOLDERS" button near the top.
"Steam Library Folders" box, "ADD LIBRARY FOLDER".
Then all you have to do is enter the directory that is your 2nd hard drive.


I did this on my Dual-Core in Fedora 20.
I was running an old 40GB IDE, and I had a SATA2 10,000rpm WD Raptor hard drive "mounted" at '/mnt/raptor'.
(usually as a user, you can't touch this directory, but it was still a NTFS partition, so Linux let me have full access.)
I set my Steam Library to /mnt/raptor/steamlibrary

Now as far integrating your 2nd drive:

1st: Are you clicking on the hard drive in your file manager to "mount" it?
Or is it automatically mounted when you boot your PC?

Second: If it is NOT being automatically mounted you will have to do that in

/etc/fstab

DO NOT PLAY WITH THIS FILE, YOU CAN BREAK YOUR SYSTEM.
When I say "Break", I mean it will no longer boot.
And unless you are comfortable with -JUST- the command line, fixing it could be -nearly- impossible.


This tells the system all the partitions that should be "mounted" at boot.
At which point, you can then proceed with setting up your system/programs to use the new drive.

If you can tell me how you are accessing it (i.e. mounting it manually or not), then we can figure out the next step.

If the 1TB isn't automatically mounted, then adding the symlinks that RR mentioned won't work.
As you would be pointing to another directory "mounted" on the same drive.
You need to first "mount" the 1TB to the filesystem, THEN you could symlink as required.

PLEASE NOTE: I tried to cover the basics of many aspects of this. I could explain this verbally really quickly. BUT typing this takes forever, and by the time I get home after reading the post on my phone, it is late and I've forgotten most of what I was going to type...

Barracuda

EDIT: To clarify, There are many things I "just do" with Fedora and a friend's Raspberry Pi, (running "Raspian", Debian based) without thinking about it. It is there, if you dropped your PC in front of me and said "I want it to do this." I would set it up. After, I would tell you what was where, and if you wanted to know more I would explain.
But, typing instructions out, "converting" to win/dos terms, and doing this across distrobutions (2 different ones in this case) on top of being VERY tired... and my post get either VERY long, or I start skipping (or repeating) things. And at the level Skybird would be working, could REALLY lead to bad results.
Once things calm down, I should be able to get back to having clear, detailed post about this.
My apologies if anything was unclear in this post.
:Kaleun_Sleep::Kaleun_Sleep::Kaleun_Sleep:

Rockin Robbins 04-03-17 10:11 AM

Suffice it to say that Linux treats resources entirely differently from how Windows does. Linux is about interoperability. Windows is about proprietary exclusivity. Just like translating between two languages like German and English, it's not enough to learn it consciously.

You have to learn to THINK and dream in both German and English, making them truly native processes before you can understand all the nuances. Barracuda is further along in that than I am. I know enough to go find what I need and probably understand it.

Just had a fun time learning about .desktop files. When you're looking at them they don't look like "VeeamAgentforLinux.desktop." Inside the file is the specification for what it will look like, what the icon is and where it lives in the guts of Linux. So "VeeamAgentforLinux.desktop" might display as "Micky Mouse" and you might not have any clue what it is! Luckily, people just don't do that.

So I wrote a script to run Veeam Agent for Linux as super user in a terminal window, put it in /home/steverobbins/.ssh, then wrote a text file named "VeeamAgentforLinux.desktop" on the desktop. It specifies the name of the program that will be displayed, the path to the actual script and the icon that will be displayed. I understand (poorly) that putting it in /usr/share/applications/ allows me to put it anywhere I want: desktop, launcher, maybe even indicator bar. So I made a copy there as well. Linux icons hang out in the /usr/share/icons directory.

All from the terminal window. I was pretty proud of myself for crawling a few feet there. I wouldn't be a bit surprised to see it done in nautilus and gedit GUI applications. But learning the terminal version helps you understand the GUI better.

BarracudaUAK 04-03-17 03:43 PM

Quote:

Originally Posted by Rockin Robbins (Post 2476545)
Suffice it to say that Linux treats resources entirely differently from how Windows does. Linux is about interoperability. Windows is about proprietary exclusivity. Just like translating between two languages like German and English, it's not enough to learn it consciously.

You have to learn to THINK and dream in both German and English, making them truly native processes before you can understand all the nuances. Barracuda is further along in that than I am. I know enough to go find what I need and probably understand it.
...


Just to clarify my previous post,

I'm NOT saying that I don't look at the help file, or google to find where something is.
Since I usually forget it, as I rarely have to "fix" something in Linux after I do the initial setup.

What I am saying is that I know the main locations for the "core" of the system files.
I know how to get to the default txt editor (nano in a pinch, which honestly, isn't that bad), and I am (usually) smart enough to "comment out" things that I'm going to change, rather than delete them out-right in config files.
I know how to find the "man pages", and I write down a series of commands in a small notepad (which is currently still in a box somewhere...).
So if I break it, I can fix it.

I put my /home on its own partition.:up:
In case I need to reinstall. Then it is no big deal.

But ultimately, I'm not afraid to "break" it. Just make sure you have a install USB Drive/DVD and can boot from it, then go.

Doesn't hurt that I've been (on someone else's PC) messing with Linux since Redhat 5, and had Redhat 9 installed before I found out about Fedora Core (I think FC3 was the first I installed), and I installed that.

I kept it as a "fix Windows XP" OS, and I also used many of the things that were "standard issue" in Linux to mod games.

I would use the "SDK" for the game to extract files I wanted to mod, then reboot to Linux to use editors and 3d modeling programs to make the changes.
Copy them from my XP drive to my Linux drive, make changes, then put them back in a new "modded" folder in my XP drive.
Reboot back to XP, then use the SDK for the game to put the changes into the game.

Through that, I got comfortable with Linux.
Now that WINE has come so far, I'm just running Linux. :D
(Better 3D drivers haven't hurt either!)


Skybird,

Open a terminal and type:

man mount

This should display a "manual page" on "mount".
Read it so you can become familiar with the way 'mount' works.

Then quit, should be "q", it should show the main commands that you can use in the "man" program at the bottom of the page.

Then type

man fstab

This will explain the way that "fstab" file automatically mounts your drives on boot.

"q" quits.

At this point you should have a basic, but good understanding of how to mount your 1TB where ever you want!:up:

If you don't feel comfortable with it at that point, read it a few more times.
Try mounting your 1TB manually in the terminal, to see if you have it right.

At worst, it will simply "fail to mount", meaning, no harm done!

If you want some further input let us know.:up:


---------------------------------------------------------------------------------

Reece,

I would suggest the same process for you:

open a terminal and type

man apt-get

it should have one.

Fedora has one for "dnf", which is the Redhat/Fedora package manager.
It's the equivalent of "apt-get".

That way you know exactly what you are looking at in the terminal.
And see if there is one for the graphical as well

"apper" is the name of the one in Fedora/KDE, and it has a "man page".

I forget the name of the Ubuntu graphical update program at the moment.

man <name of program>

works for just about everything!:up:

RR should be able to tell you what it is.


I REALLY need to re-install my virtual machine software!

Barracuda

Reece 04-04-17 12:36 AM

As I had explained earlier (post #26) I have installed wine but I don't know how to run it, there is nothing in the Dash only in Ubuntu Software Center, pressing Launch does nothing!! Where did I go wrong???:hmmm: Should I remove it?:doh:

BarracudaUAK 04-04-17 01:33 AM

Whoops, sorry...:oops:

I need a lookout on deck! :Kaleun_Periskop:

Appearently all mine were :()1:


EDIT: I just re-read your post, and I think something is odd, but try what I have below anyway, it will tell us if things have gone screwy......
End EDIT.


Let's assume all went well..

Go to a terminal and type:

winecfg


A small window SHOULD open with multiple tabs, this will allow you to "setup" wine.
I.E. To choose which directory will function as your hard drive.
By default a directory named .wine (the "." in front means it is hidden) is created in your "home" directory to be your "C:" drive.

If it doesn't, then something went wrong. If it does, then continue on:
You should, by default, be looking at the "Apllications" tab. 1.9.0 and up usually default to "Windows 7". You will see a drop-down menu just above OK/Cancel/Apply buttons.

Make sure it is showing "Windows 7", and click "Apply".

Now click the "Drives" tab
click "add"
and choose the first available "drive Letter", and click ok. Mine is showing "F:". But I have 2 optical drives.

Click "Show Advanced".
On the "Path" line, enter a path to the directory you wish to use. on mine I have a Directory named "driveH". (please note it IS case sensitive!)
I have my drive set to "H:" and the path is "/home/<login-name>/driveH
I keep all my games that need 32bit, directX9, dotnet2.0 in here.
I have one named "driveJ" and it is "J:" in winecfg. I keep all my 64bit DX10 & DX11 games in there.

On the "Type" drop-down menu, select "Local hard disk".

At this point you should be good for now, go ahead and press "ok" to close it.


Now to actually use wine, you will need a Windows game.
Do you have SH3 or SH4?
Or another game from that time frame? Something that requires DirectX9 would be best.

I specifically mention SH3/4 because I know they work without any special help.

Just place it in the CD/DVD drive, use your file manager and find the install file, and click it like you would any other file to open it.
It SHOULD launch, and allow you to install the game.

If winecfg doesn't launch let me know, and we can try to see what may have gone wrong with the setup/install...



Speaking of not being afraid to "break things"...
I'm typing this from my backup/update testing hard drive...
As I lost one of my drives in my RAID0 earlier. About the time I was typing my last post.

I think the spindle bearing is gone... So hopefully tomorrow I'll make a quick trip to one of the larger computer stores and pick up some WD Caviar Black drives and build me another RAID.
Fortunately I backed up my entire /home to another HD that is rarely used.
I've had it for ~4 years and it only has 1 more month of "up-time" than the 2 oldest in this PC which is less than a year old....:haha:

So I'm off....

Barracuda

Reece 04-04-17 05:21 AM

Hi Barracuda, so far I have only read up to the test with winecfg, this is the return terminal message:
"The program 'winecfg' is currently not installed. You can install it by typing:
sudo apt install wine1.6"
Thought I'd best get this info to you first.:yep:
BTW, the current system I use on my old machine is XP Pro, the new pc is dual boot with Win 10, but I hate it, should I still select Windows 7?
Nasty about the spindle bearing in the HDD, this is the main reason I am trying to update, my old pc is about 6yo, including hard drives.

BarracudaUAK 04-05-17 12:58 AM

Quote:

Originally Posted by Reece (Post 2476723)
Hi Barracuda, so far I have only read up to the test with winecfg, this is the return terminal message:
"The program 'winecfg' is currently not installed. You can install it by typing:
sudo apt install wine1.6"
Thought I'd best get this info to you first.:yep:
BTW, the current system I use on my old machine is XP Pro, the new pc is dual boot with Win 10, but I hate it, should I still select Windows 7?
Nasty about the spindle bearing in the HDD, this is the main reason I am trying to update, my old pc is about 6yo, including hard drives.


To answer the simple question first...

WINE just "mimics" Windows as far as the program is concerned, it doesn't actually give you a Windows desktop.

If, for example, you have a game that needs XP minimum to run, but you have wine set to "report" Win98, then when the program starts it checks which version of Windows you have.
Wine will say "this is win98", at that point the program will end and give you a message in a window saying something like "This programs requires Windows XP or better to run".

If you set WINE to WinXP, then re-run that same program it will check as it always does, and Wine will say "WinXP". The program will then start.

A general idea, but I cover the basics of "how" it works here:
http://www.subsim.com/radioroom/showthread.php?t=229238

---------

As far as whether or not you should install that one, we need to check to see what is available.

Simply because I'm not familiar with the graphical installer, let's stick with apt-get...


on fedora, I can type:

dnf info <name of package>

to get info about that package...

if I just type "dnf" I get a list of possible commands such as "info", "install", "remove", etc.

Try typing just:

apt-get

It should print out the "help" list.

Is there a command like "info" that tells you what a package does?


I'm going to assume that there is one... and that it is called "info".
Substitute which ever command you need to....

If in Fedora, I type:

dnf info mesa

Mesa is the driver/3d part of the sytem (more or less, I'm being really "rough" here).
But there isn't a package name just "mesa", they are all mesa-<something>-<somthing>-etc-etc....

Each containing a small piece of the whole....
So to fine which particular part I need I would type:

dnf info mesa* <----------------------- notice the *

The star, like DOS is the catch all wildcard.... it will then show me all packages that start with "mesa".

Try that with WINE....

Assuming "info" is the right command, again, double check as I mentioned above...

apt-get info wine*

This should show you all the packages that start with wine....
IF it gives an error, then put sudo in front:

sudo apt-get info wine*

You shouldn't need "sudo" just to get info, you are not making any changes at that point....


Lemme know how it goes. I'll check back asap, I got my replacement HDDs...

4, 1TB WD Black... going to setup another RAID0, retire my ~1 year old Seagates to backup duty...

I'll reply as soon as I get the system back up and running. Restoring the backup will take time, it is still only one drive!

Barracuda

Reece 04-05-17 02:03 AM

This is what I get from APT-GET:

Quote:

Most used commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
purge - Remove packages and config files
autoremove - Remove automatically all unused packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
build-dep - Configure build-dependencies for source packages
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies
source - Download source archives
download - Download the binary package into the current directory
changelog - Download and display the changelog for the given package

See apt-get(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).
Good Luck with the drive.

Reece 04-05-17 08:00 AM

Well I discovered wine was only 127kb in size so I uninstalled it and then ran this: sudo apt-get install --install-recommends winehq-devel
Again all seemed to work but got this (last few lines):

Quote:

Setting up winehq-devel (2.5.0~xenial) ...
Setting up libosmesa6:i386 (12.0.6-0ubuntu0.16.04.1) ...
Setting up libosmesa6:amd64 (12.0.6-0ubuntu0.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link
/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link
I then ran winecfg and got his:

Quote:

wine: created the configuration directory '/home/reece/.wine'
err: ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err: ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err: ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err: ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err: ole:get_local_server_stream Failed: 80004002
err: ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err: ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err: ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err: ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err: ole:get_local_server_stream Failed: 80004002
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
Could not load wine-gecko. HTML rendering will be disabled.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/reece/.wine' has been updated.
Also asked for some file to install since .NET failed, I cancelled, the same thing with Gecko.

The reason I cancelled is that wine doesn't show anywhere not that I really know what to look for.

After a bit of reading I did the following:

Quote:

sudo apt-get update
[sudo] password for reece:
Hit:1 http://au.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://au.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Hit:5 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease
Get:6 http://au.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:7 http://au.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [509 kB]
Get:8 http://au.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [498 kB]
Get:9 http://au.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [205 kB]
Get:10 http://au.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [288 kB]
Get:11 http://au.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [184 kB]
Get:12 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [160 kB]
Get:13 http://au.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [188 kB]
Get:14 http://au.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2,520 B]
Get:15 http://au.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,324 B]
Fetched 2,345 kB in 14s (162 kB/s)
Reading package lists... Done
Then:

Quote:

sudo apt-get install --install-recommends winehq-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
winehq-devel is already the newest version (2.5.0~xenial).
The following packages were automatically installed and are no longer required:
kde-l10n-engb libwine-development libwine-development:i386
linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-62
linux-headers-4.4.0-62-generic linux-headers-4.4.0-64
linux-headers-4.4.0-64-generic linux-image-4.4.0-31-generic
linux-image-4.4.0-62-generic linux-image-4.4.0-64-generic
linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-62-generic
linux-image-extra-4.4.0-64-generic linux-signed-image-4.4.0-62-generic
linux-signed-image-4.4.0-64-generic ocl-icd-libopencl1:i386 shim
ubuntu-core-launcher wine32-development:i386 wine64-development
Use 'sudo apt autoremove' to remove them.
I did this, this did a lot and ended with:

Quote:

-------- Uninstall Beginning --------
Module: bbswitch
Version: 0.8
Kernel: 4.4.0-64-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

bbswitch.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-64-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.
dkms: removing: nvidia-375 375.39 (4.4.0-64-generic) (x86_64)

-------- Uninstall Beginning --------
Module: nvidia-375
Version: 375.39
Kernel: 4.4.0-64-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia_375.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-64-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


nvidia_375_modeset.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-64-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


nvidia_375_drm.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-64-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


nvidia_375_uvm.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-64-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
update-initramfs: Deleting /boot/initrd.img-4.4.0-64-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-64-generic /boot/vmlinuz-4.4.0-64-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-72-generic
Found initrd image: /boot/initrd.img-4.4.0-72-generic
Found linux image: /boot/vmlinuz-4.4.0-71-generic
Found initrd image: /boot/initrd.img-4.4.0-71-generic
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
Removing ocl-icd-libopencl1:i386 (2.2.8-1) ...
Removing shim (0.9+1474479173.6c180c6-1ubuntu1) ...
Removing ubuntu-core-launcher (2.22.6) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link

Processing triggers for man-db (2.7.5-1) ...
0 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.
Now should I run Winecfg?:oops:
Some sort of results guaranteed!!:yep:
BTW, I still can't fine Wine anywhere!!:doh:

Rockin Robbins 04-05-17 09:05 AM

When you run the WineHQ version winecfg isn't put on the desktop by default. I'm on an infernal Windows machine at work right now so I can't tell you where the Windows stuff resides. But you should run winecfg.

Now when you download a Windows program, navigate to the downloaded file and right-click it. Your top option should be install with WINE installer.

Reece 04-05-17 07:23 PM

Thanks Steve, I keep thinking Wine is a virtual desktop!!:oops:
I will try winecfg later, hopefully it asks for the .NET and Gecko to be installed.:yep:

Btw, I tried the WinHQ forum but is a pain since my posts have to be 'approved' before they go on, that takes 24hrs. I did get a reply to the first, I had made a typo and the responder was rather rude!!

Edit:
I ran winecfg from the terminal and it opened up a box, after I closed it I get the terminal message:
"fixme:msg:pack_message nsg 14 (WM_ERASEBKGND) not supported yet"

It seems that Wine is only accessible with context menus on exe files only?

Anyone know what "PlayOnLinux" is like?
https://www.playonlinux.com/en/download.html
Or is this better:
https://www.codeweavers.com/products/crossover-linux

Skybird 04-06-17 05:51 AM

I deinstalled Steam launcher and then reinstalled it on Linux, to see whether it really gives me the choice, but it left me no choice ever to select the installation location, so it went onto the SSD. Within Steam I could choose where the game installation folder should be placed, but choosing the second drive, the HD, does not get accepted as a valid location, I need to chose the SSD again, only then it would work. So I have not installed any game.

The HD drive is mounted. Google seems to have instalkled some files there without me noticing it, and I have manually moved MP3 and picture archives here.

Any attempt to install a program to the HD so far has failed.

Reece 04-06-17 06:57 AM

Not that I know much but I have 2 HDD's and I have trouble installing Linux stuff to NTSF drives, data is ok.:hmmm:

Skybird 04-06-17 07:07 AM

Naaa, drive format is not the issue here.


All times are GMT -5. The time now is 08:04 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.