Snapd not installing

 When ever you have to install snap or snapd then sometime linuxmint doesnot give proper support. This is not any big issue. If you are facing the same problem like this.



Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package snapd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'snapd' has no installation candidate

Then you need to follow following steps:

1. sudo rm /etc/apt/preferences.d/nosnap.pref
2. sudo apt update
3. sudo apt install -y snapd
4. snap version

Now You are ready to use snap.


File Sharing in Linuxmint


File sharing in Linux is quite easy if we follow the proper steps. Without taking time just follow the following steps. This steps is followed in Linuxmint but as possible you can use the same way in another distro as well.

First of all install the samba and its related packages. When you enter '*' on the end then it includes all related packages from the library.
$    sudo apt install samba*
Then enable samba in firewall
$    sudo ufw allow Samba
Create the client Id password
$    sudo useradd suman
$    sudo passwd Suman@123
When you add the user on your pc then it is for the local use. You need to provide the sharing password on shamba. It can be anything you wish. You just need to register desirable password and to to so  just Add Samba Sharing password using this command.
$    sudo smbpasswd -a suman
then enter the password for 'suman'.


> Now or any time just right click the folder you wish to share and click the sharing option.
> Switch on the option Share this folder.
>Now you can open the folder using smb://<IP address> in linux and \\<ipaddress> on windows.
Work is done. enjoy the sharing..

Android on Virtual Box

Installing android on PC is really helpful on some case when you are testing app or any reason you want to run the app. If you need more than one device along with the device you have on your hand is create a virtual device. It would be the best way to run the app.

To solve this problem you can create a virtual device on your pc using the virtual box. You can download the android x86 os on your pc or virtual box to make this happen.

Just follow the few steps to create it.
  1. Download the Disk image from THIS LINK. this will take you to the  URL https://www.android-x86.org/
  2. Then Download the Virtual Box using THIS LINK or https://www.virtualbox.org/
  3. Then Create a Virtual Machine using Followings:
    Name: Android (anything you wish)
    Machine Folder: (Leave default)
    Type: Linux
    Version: Other 64-bit
  4. Then Link the image file on the machine as you start

  5. Give put desirable amount of RAM. I think 4096 MB is enough for 4GB.
  6. Create a virtual Hard Disk
  7. Then Choose the Hard Disk File type as VDI (Virtual Box Disk Image)

  8. Storage on physical hard disk 'Dynamically allocated'
  9. File location and size around 32 GB
Now the time has come to run the Virtual device,

Go to settings and adjust the followings,
  • SYSTEM 
    • Motherboard
      • Pointing Device> PS/2 Mouse
    • Processor
      • Processor(s) : 4
  • DISPLAY
    • Screen
      • Video Memory: 128 MB
      • Graphics Controller: VBoxVGA
      • Acceleration: Tik the Enable 3D acceleration
Then Click OK and save it.

Next, Load the Downloaded iso file and run the machine.
As the machine runs the Go to Advance Option.
> Advance Option
    >Auto _Installation-Auto Install to specified Hard disk 
        >Auto Installer Option (YES)
            >Run Android-X86

If you have a fucing Fate then a black screen with console# may appear or it will stuck then you need to close the virtual box and Power off the machine.

Start the Machine again and Go to Advance Option and Boot from the Local drive.

    >Hovering the first option press 'e'
then replace this line 
grub edit> kernel /android-9.0-r2.kernel force root=/de/ram0 S><dev/ram0 SRC=/android-9.0-r2
into
grub edit> kernel /android-9.0-r2.kernel nomdeset xforcevesa root=/de/ram0 S><dev/ram0 SRC=/android-9.0-r2

Then press enter and press 'b'

Now your machine is ready to run.
















LARAVEL

LARAVEL


When the time comes to install Laravel then we get  lot of unnecessary and lengthy process. It offers us to get Composer first then install the Laravel. If you are new to install it then do not get panic just follow the following steps.

First Download the Php component using this command


$    sudo apt install -y php php-common php-cli php-gd php-mysqlnd php-curl php-intl php-mbstring php-bcmath php-xml php-zip 

Now Install the composer using this command

$    sudo apt install composer

Now, Open the desktop using this command

$    cd Desktop

Install a new directory of Laravel Project using following command where i am creating a directory called "website". The fundamental syntax is  {composer create-project laravel/laravel "YOUR WEBSITE"}

$    composer create-project laravel/laravel website

As the Directory is created then open the directory

    cd website

Now you are ready to serve it and use this command 

$    php artisan serve

It will provide you a server with another port which you can copy and run on browser.

Congratulation you have successfully install the Laravel. If you find any trouble during the installation no need to panic and look support just look the process log on Terminal and install the missing package and retry.

Linux Appimage

 Let me tell you something special today about the Linux appimages . If you are using the windows then you might already heard or used about portable software .  When you use windows Portable software then you just run it without installation similarly in Linux it is similar concept. Appimages are those types of software which you can run in any types of Linux. If you are using Debian, Ubuntu, Red hat, or whatever then the portable software runs in any distro.  Let me tell you that you can get the portable appimage is found on this link. Just click here to get it.


Just you need to go to;

https://www.appimagehub.com/

  1. Search or Download what ever appimage you need.
  2. When download is done just go to properties or press alt+Enter 
  3. Then  go to permission tab and Check on 'Allow executing file as program'
  4. Then run it.