Alternatives to WINE

Now that you know what WINE is, how you install WINE and how you use Wine you might want to know if there are any alternatives to it. Today I will show you the three main alternatives to WINE. These are Codeweaver Crossover, Oracle Virtualbox and VMware Workstation.

 

1: Crossover

Codeweavers Crossover is the main software mentioned if someone says WINE isn’t quite good enough for them. It is a closed source piece of software which costs £38 and includes 12 months of email support and upgrades as well as a free year of phone support. Crossover is based of the WINEhq code however the small cost allows you to have support from developers and means you are also indirectly supporting the WINE project as codeweavers give the majority of the code they have improved back to WINE to use in their next version.

 

2: Virtualbox

Oracle (previously Sun) Virtualbox is an open source virtualization package designed to let you run any operating system with a virtual computer. As it is open source It’s free to use however it doesn’t emulate Windows so if you want to run Windows you would need to find either an old install disk or buy a new product key.

It will run every application the same as if the Windows version you installed was installed directly to a computer. However its video drivers aren’t always capable of running games and you will probably not be able to run most of your Windows Games if they use 3D graphics. It will also have every limitation Windows has for example if you install Windows 10 you won’t be able to disable the automatic updates.

 

3: VMware workstation player & pro

Vmware workstation player is a closed source freeware virtualization program which is also designed to let you run almost any operating system with a virtual computer.

Vmware workstation pro is similar to VMware player except it is paid for, has more features and can be used by a business for monetary gain. It, like VMware player, emulates a computer to allow you to run almost any operating system inside one main OS.

They have slightly better support of hardware compared to Virtualbox and if you pay for the VMware workstation you get support so you can call if you have a problem. Some people also think that VMware player looks easier to use and that Virtualbox is more confusing to use however that is subjective and you may not find that is the case. Finally it doesn’t come with any licences or a version of Windows preinstalled which means you would have to pay for a Windows license and install Windows before you could use the program for anything.

 

As always thank you for reading. Please comment if you feel I have made a mistake or if you have an idea for what I should write about in the future.

 

 

How do you use WINE?

Now you know what WINE is  and know how you install it. You might want to know how to use it. On Linux there are three main ways (Console, PlayonLinux and Q4Wine). I will show you all three of theese ways and thier advantages / disadvantages

1: The console

The console is the only way to use Wine without installing another package. You use it by typing wine or wine64 and then the location of the file you want WINE to launchy. For example to launch a file called steam.exe located in your downloads folder with the 32bit version of WINE you would type wine /home/your_username/Downloads/steam.exe. The WINE console has two main advantages. One of  which is it’s preinstalled with the WINE packages so you don’t need to use more data installing something else.

The other main advantage is the fact that it is developed by the WINE team so any bugs that may occur an be reported directly to the WINE developers.

It has one main disadvantage which is that it is only configured and run through the command line and therefore will be harder to configure for new users and may put a user off the software.

2: Play On Linux

PlayonLinux is the most common GUI

(Graphical User Interface) for WINE. It sandboxes C drives so you could have one install of WINE for photoshop and a completely independant install for Windows only games.

It has two main advantages and two main disadvantages. One advantage is the fact that it’s sandboxed meaning you can easily install something new without risking your current install of WINE.

Its other advantage is the fact that it has a GUI making it far easier for users to configure and use.

Its first disadvantage is its code is fairly different to WINE and therefore if you report a bug to the WINE team you would need to preface your report with something mentioning you’re using playonlinux as opposed to vanilla wine.

The other disadvantage is that it isn’t included in the wine package meaning you will neeed to install it seperately using up extra time and data and will need to keep another program up to date.

 

3: Q4Wine

Q4Wine is the other major GUI for Wine on Linux. It has a more comlex GUI and is closer to the vanilla version of the WINE program. It has one main advantage and 2 main disadvantages.

It’s main advantage is the fact that it has a GUI which makes it easier for people to understand and use. It has a more complex GUI than PlayonLinux however makes up for it because it has a smaller install size.

Its first disadvantage is the fact that it isn’t included with WINE. This is bad as it means the program will need to update and will not usually update at the same time as the main WINE package which may leave you without features sometimes.

It’s other main disadvantage is the addition of code etc which means if you need to file a bug report you will have to mention somewhere in the report the fact you are using Q4Wine so the wine developers know it may not be a problem with the WINE console and may be the Q4Wine code stopping something from working.

As always thank you for reading. Please feel free to leave a comment if I made a mistake or to tell me what else you think I should write about.

 

Installing VirtualBox on Linux and Windows

1: What is Virtualbox

Virtualbox is an X86 and AMD64 virtualization program owned by Oracle (after they bought Sun) for enterprise and home use. It is freely available open source sopftware and runs on Windows, Linux, OSX and Solaris. The latest available version of Virtualbox is 5.0.16

2: Why install Virtualbox

There are two main reasons why you may want to install Virtualbox. First of all it has the capability to run almost every modern desktop operating system. This means you could see if you want to make a switch of operating system from Windows to Linux, Linux to OSX or OSX to Windows. Secondly it can run specialized versions of the Android operating system. This means if you wanted to see what a modern version of android looks like (without any skins) you could. This is useful if you are thinking of switching to a nexus phone or other android phone without an overlay of the UI.

3:How to install Virtualbox

Linux

Debian based linux distros (Ubuntu/Linux Mint etc)

In Debian based distributions of Linux you can install virtualbox and it’s guest additions package by typing in sudo apt-get install virtualboxinto a terminal window. Then accept the other packages that must be installed by typing y when apt asks if you woul like to install recommended pacages. When you are back to a terminal window you can type in you are done

Fedora

In Fedora you need to install Virtualbox from https://www.virtualbox.org/wiki/Linux_Downloads. There is a guide on there to show users how to install a package.

Arch Linux

On Arch Linux install the packages virtualbox, virtualbox-guest-iso, qt4 and jdk7-openjdk with the command

sudo pacman -S virtualbox virtualbox-guest-iso qt4 jdk7-openjdk

Windows

On Windows download the package VirtualBox 5.0.16 for Windows hosts from https://www.virtualbox.org/wiki/Downloads. Then navigate to the folder you downloaded double click on the .exe file and then accept the UAC request.

As always thank you for reading, Please comment if you would like me to add a category or if I have make a mistake.

 

How do you install Wine

WINE can be installed on many systems including OS X and Linux.

Today I will show you how to install WINE on 4 of the main Linux Distros’. Fedora (22/23), Ubuntu(16.04), Debian(8) and Arch Linux (Build 5/1/2016).

1: Fedora

Fedora needs a wineHQ repository added before you can install WINE.

You can do this with the command  

dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/22/winehq.repo for Fedora 22

and the command   dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/23/winehq.repo for Fedora 23

You then can install WINE with the command

dnf install winehq-devel

for the development version. For the staging version you need to replace ‘winehq-devel’ to ‘winehq-staging’

2: Ubuntu

Ubuntu has two main ways to install WINE.

The easiest way that leaves you with an older version of WINE needs you to type in the command sudo apt-get install wine

If you need to have the latest version of WINE you will need to add a repository.

You can do this with the command

sudo add-apt-repository ppa:wine/wine-builds

you then run the command sudo apt-get update and then finally run either

sudo apt-get install --install-recommends winehq-development

4:Arch Linux (1/5/2016)or

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

for the development and staging versions of WINE respectively.

3: Debian (8 Jessie)

In Debian 8 you install WINE in a similar way to Ubuntu.

If you want to install the default packages you would type

sudo apt-get install wine

for the stable version and

sudo apt-get install wine-development

https://wiki.archlinux.org/index.php/winefor the development version.

However if you are on a 64 bit system (which debian.org states is true for most users) you will need to enable multiarch first. You can do this with the command

sudo dpkg --add-architecture i386 && apt-get update

Debian 8 also has a backports system to give you more up to date programs of which WINE is included.

If you want to install WINE through backports you can go to https://wiki.debian.org/Wine which has a guide for the backports.

Wine HQ also has a repository for Debian 8

To add the repository you need to do 5 or 6 steps
Firstly if you have a 64 bit processor you will need to enable multiarch support. You can do this with the command

sudo dpkg --add-architecture i386

Next you need to download the key used to sign the repository packages. You do this with the command

wget https://dl.winehq.org/wine-builds/Release.key

Then you add the key to your system. with the command

sudo apt-key add Release.key

After that you need to add the repository to your apt sources. You do this by adding the text

deb https://dl.winehq.org/wine-builds/debian/ jessie main

to the file /etc/apt/sources.list. You can do this with the command sudo nano /etc/apt/sources.list.

Once you’ve done that you need to update it with the command sudo apt-get update.

Finally you need to install wine with either

sudo apt-get install winehq-development

or

sudo apt-get install winehq-staging

for the development and staging versions of WINE respectively.

If apt complains about missing dependinces install them and then repeat the final step.

4:Arch Linux (build 1/5/2016)

Arch Linux also has Wine in the official repositories. You will need to enable the multilib repository if you are using the 64bit version of Arch. You can install the Wine package with the command

sudo pacman -S wine

If you have any problems you can look on the Arch Linux support page at https://wiki.archlinux.org/index.php/wine.

As always thank you for reading, Please leave a comment if I have made a mistake or you want to learn more about WINE.

What is Wine

Wine is something that is mentioned a lot when people talk about Linux or Mac OSX compatibility but few people know very much about it or why you would use it.

What is Wine?

Wine is a program that maps Windows API calls to Unix (POSIX) API calls on the fly. It is however definitely not an emulator, in fact the developer even made this apparent with the name as WINE is an acronym for Wine Is Not an Emulator.

Why would you use Wine?

Wine would be used if you wanted to get a program workin’ on Linux or Mac OS X that didn’t have a Linux or OSX version.

When would you not use Wine?

Wine shouldn’t be used if a program you want to use has a Linux or OSX version. This isn’t usually because it is slower than native versions however it will register to the developer as a Windows customer as opposed to a OSX customer or Linux customer. Also you are more likely to get bugs running the Windows version than your respective native version. The third reason you shouldn’t use the Windows version if there is a Linux or OS X version is some APIs are not supported and therefore will not work on Linux / OS X and will cause a crash / error.

Why do some people like Wine?

Some people like Wine as it allows you to run programs that aren’t developed for your specific operating system. For example it gives Linux users the chance to run Adobe Photoshop and allows OS X to run Putty.

Why do some people dislike Wine?

Some people dislike Wine as it allows developers to create a ‘lazy’ port of a game or program to Linux or Mac OS X. This could be a problem as WINE can’t port every API call from Windows and therefore will not have full compatibility with every program feature.

A beginners guide to customization on android

Many people say that android is very customizable but many people wouldn’t know how to. So today I will show you 4 easy ways you can customize your android phone or tablet.

 

  • Launchers

Launchers are the way to launch apps on android. Four of the main ones are Nova Launcher, Google Now Launcher, Go Launcher and Themer. Hover over the photos below to see what launcher is running.

Go LauncherGoogle-Now-Launcher

 

themerNova Launcher

 

 

 

  • Lockers

Lockers are how you protect your phone. They will lock your screen so not everyone can access it.

Hover over the pictures below to see what locker is being used.

NextLockscreen CM-LockerGo Locker

  • Texting Apps

These apps are self explanatory. You install and open them and then they recieve your text messages. As always hover over the photos below to see the apps being used.

Go sms proMessenger

  • Alternate Keyboards

Again quite self explanatory. These apps replace the default keyboard. Some examples are Google Keyboard, Swiftkey and Flesky Keyboard.

If you want to know what keyboard is running please hover over the images below

flesky Swiftkeygooglekeyboard

As always thank you for reading. If I have made any mistakes or you would like to contribute please reply in the comments.

Linux Screen Recorders

Screen Recording is a a difficult job on every OS. Linux has it really bad however today I will show four free as in beer and freedom screen recording programs for Linux.

1) Record my desktop

Record my desktop was the first main screen recording program released for Linux. It has many options for screen recording however has no screenshot function or webcam viewer included.

To install Record my desktop in Ubuntu and other debian based distros type

sudo apt-get install gtk-recordmydesktop

The main problem with record my desktop is that until recently it couldn’t encode on the fly and therefore sometimes is heavier on CPU power.

GTK Record My Desktop
GTK Record My Desktop

 2) Kazam

Kazam was a revolution in screen recording. It was the first major screen caster with on the fly encoding and comes with a built in screenshot function. The main problem with Kazam is it has no webcam viewer and doesn’t work with every configuration.

You can install Kazam by typing

sudo apt-get install kazam

Kazam
Kazam

3) Vokoscreen

Vokoscreen is a screen casting application which comes with a built in webcam viewer and has lots of settings for changing audio sources and many other settings.

The main disadvantage is there is now screenshot capture mode so you have to record a screen cast.

You can also install Vokoscreen in debian based distros by typing

sudo apt-get install vokoscreen

vokoscreen
Vokoscreen

4) Simple Screen Recorder

Simple screen recorder is a very simple screen recorder which can be customized quite a lot. It is good because it can encode on the fly also the hot keys can be customized very easily. However it’s bad because the program has one audio track and no screenshot or webcam function.
There are multiple steps to installing simple screen recorder in ubuntu and ubuntu based distros

1) Type in the command sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder

2) Then type in the command

sudo apt-get update

3) Then finally type
sudo apt-get install simplescreenrecorder

Simple Screen Recorder

Conclusion

To conclude all of these screen casting applications work well on most systems so you just choose the program with the features you need.

Please write in the comments if this helps you, If you want me to make another tutorial like this or if i made a mistake.

Setting up an NFS server on the Raspberry Pi.

The post you are about to read is a continuation of this post.

I recommend you read the above feature first since i will not cover the basic set up in this guide. I also recommend you read the post

This is so you know about file systems before you start your NFS server.

This post will use NFS or network file system I will make another tutorial for samba

What is NFS

NFS is a file system developed by Sun Microsystems to access files from a networked location as if the files where in a local directory. NFS has excellent support for Linux, good support for OS X. Windows has no built in support for NFS and you need professional or ultimate to download it from Microsoft.

Setting up NFS

First of all ssh into your pi

Next you need to install the program nfs-kernel-server with the command

<sudo apt-get install nfs-kernel-server>

Accept the other programs apt will try to install and wait until it has finished installing. You may be a bit worried from the message you got that roughly reads [warn]Nfs not starting no exports[warn] but all that means is we haven’t set up any NFS shares yet

Next you need to plug a USB HDD into your pi and type <df -h> which will tell you the mount point of your HDD probably /dev/sda1 but check anyway.

Now make the directory to permanently mount your hdd for example <sudo mkdir /media/hdd1>

Then type <sudo nano /etc/fstab> and paste in the line

/address/df-h/told/you /address/to/your/HDD file format you chose defaults,noatime 0 1

Then reboot and you should have your HDD mounted to the name you want

You now need to mount your HDD with <sudo mount /address/to/your/HDD>

make some directories for your files with mkdir. For example

<sudo mkdir /media/hdd1/Music>

<sudo mkdir /media/hdd1/Movies>

<sudo mkdir /media/hdd1/Documents>

Next you have to create you /etc/exports file with the command

<sudo nano /etc/exports> then paste and edit

/media/hdd1/Documents *(rw,sync,no_root_squash)

/media/hdd1/Music *(rw,sync,no_root_squash)

/media/hdd1/Movies *(rw,sync,no_root_squash)

once you have done that press ctrl x to exit and type <sudo /etc/init.d/rpcbind start> followed by <sudo service nfs-kernel-server restart>.

Your pi should report that NFS has successfully started and you can continue to installing NFS on Linux but OS X has it preinstalled

On Linux

You need to install the package nfs-common with your distros package manager. for example <sudo apt-get install nfs-common> for debian/ubuntu based distros or <sudo pacman -S nfs-common> for arch Linux

Finishing off

Firstly you should make some new empty directories on your main pc with the command sudo mkdir. You should make as many as you made for the pi earlier.

Now you mount them with the command <sudo nano /etc/fstab> you need to add the line

IP-address of your pi:/media/hdd1/Documents /home/ocb/Documents nfs auto 0 0

editing it for your system and pasting it in the amount of folders you made.

Finally i would like it if you told me if i have made any mistakes or if you liked this post.

Using The Raspberry Pi As A Web Server

 

Lots of people think that servers are big and complex computers that cost a lot of money. Today I am going to disprove this theory with a home server run on the $35 raspberry pi. You could try to use the even cheaper $25 model but you gain so much by using the $35 model 2 PI that I would definatly recomend it over the model A.

More guides on the raspberry pi

Part 2

Part 3

What can you do with the pi.

There is an almost infinate list of what you can do with the raspberry pi if you have the time and ability but I will just tell you what my raspberry pi is doing

  1. A web server using apache
  2. A host for my films using samba
  3. A music host also using samba
  4. And a host for all my documents

What you will need

  1. A Raspberry pi $35 £21
  2. A micro sd card (vaires in price) Get at least 4GB and prefeably at least class 8. The raspberry pi charity sell a 8gb card with debian already on it. Here
  3. A micro usb charger (Google to make sure it provides enough power to keep the pi constantly running
  4. A usb sd card reader if you don’t already have one

How to set it up

  1. Vist this page to set up your pi
  2. Once you know your pi can boot up fine and you have checked the desktop works we need to configure the pi to act as a server.
  3. in rasp-config eiother change the password of the user pi or make a new user with a complex password
  4. If you are using windows download the ssh client putty (or if you have another faviroute use that)
  5. If you are using mac search for how to enable ssh on OSX if it is not already enabled
  6. Linux comes with ssh pre installed so you don’t need to do anything

next type ifconfig and see what the interenet address is eg 127.168.0.465

Now you need to connect to your pi of SSH. For linux and mac you type ssh pi@127.168.0.465 and then type in you password when it prompts you

On windows you have to launch putty type 127.168.0.465 in the hostname box. Press conect type in your username and password and then you should be able to accsess your pi on your internal network

Next you have to remove some programs from the pi you do this with

<sudo apt-get remove>

Now type

<sudo apt-get remove mathematica lxde>

This will remove the package mathematica and the desktop to save space and time when updating

Now run <sudo apt-get update> and <sudo apt-get dist-upgrade> to make sure you are using the latest version

Now you need to install a package to run your web server

<sudo apt-get install apache2>

This will give you a basic web page

To check you web site works you need to type the addressfor your raspberry pi. You should get a message “It works” in your browser. Now I would give ownership of the www folder to your user with <sudo chown -R user /var/www>. All you do now is copy all your web files across and you should have a complete web server for less than £50 or roughly $80

If you want to do more you could read lifehackers guide to installing media wiki or owncloud.

 

 

Using the Raspberry Pi as a samba server

The post you are about to read is a continuation of this post

I recommend you read that post because it will help with initial config of the pi

What is Samba?

Samba is a implementation of the Samba Messagin Block (SMB) and the Common Interent File System (CIFS) for Unix systems.

Samba has a lot of uses however the one we will be using today is the file system variant of the program.

Setting up Samba

Firstly you must ssh into your pi

Next you need to install the programs samba and samba-common-bin with the commandsudo apt-get install samba samba-common-bin

Accept all other programs apt tries to install and wait until it has finished installing.

Samba will attempt to start however won’t manage it.

Next you need to plug in a usb hdd and check the mountpoint of the drive with the command df -h

Now you need to create the directory the drive will mount to. For example if you wanted the drive to mount to /media/hdd1 you would need to type sudo mkdir /media/hdd1

Now you need to tell the raspberry pi where to mount the drive.

You do this by editing /etc/fstab

If you wanted to mount the drive to /media/hdd1 when /dev/sda1 was the mount point and it has an ext4 partition you would type sudo nano /etc/fstab

and then add the line

/dev/sda1 /media/hdd1 ext4 defaults,noatime 0 1

Then reboot and you should have your hdd mounted to the name you want

Now you should make some directories for your files with mkdir. For example

<sudo mkdir /media/hdd1/Music>

<sudo mkdir /media/hdd1/Movies>

<sudo mkdir /media/hdd1/Documents>

Next you need to edit /etc/samba/smb.conf with the linesudo nano /etc/samba/smb.conf

Now scroll down until you find the line that reads #security=user and remove the # at the start

Now you need to scroll down to the very bottom and add a new share by typing the text below

[R-pi Shares]

comment = R-pi Media shares

path = /media/hdd1

valid users = @users

force group = users

create mask = 0660

directory mask = 0771

read only = no

Press CTRL+X to exit, press Y when asked if you want to keep changes and overwrite the existing configuration file. When back at the console enter the following command to restart the Samba daemons:

sudo /etc/init.d/samba restart

Samba will report that it has restart and now you can create and user who can acsess the shares

I am going to add a user called media with the password pifilms

with the command

sudo useradd media users

sudo passwd media

Passwd will ask for your password twice.

Now you need make media a samba user with the command

sudo smbpasswd -a media

Now all you need to do is connect to the share via OSX, Linux or Windows and then you’re done.

As always thank you for reading. Please tell me if I’ve made any mistakes.