lattepanda-mainline-4.11 icon indicating copy to clipboard operation
lattepanda-mainline-4.11 copied to clipboard

Installation steps

Open abc91199 opened this issue 8 years ago • 7 comments

Do you mind providing a little more details on how to do the installation?

I did the following steps:

  1. Install Ubuntu 16.04.2 ISO from Ubuntu official website, make sure that installation is only in UEFI boot mode.
  2. In the terminal, sudo apt-get update
  3. sudo apt-get dist-upgrade
  4. sudo apt-get install git
  5. git clone this repository.
  6. cd in the package directory
  7. cat lattepanda-64-mainline_4.11.0-rc8-l_amd64.z* > merged.zip
  8. unzip then sudo dpkg -i lattepanda-64-mainline_4.11.0-rc8-l_amd64.deb
  9. installation seemed fine so far, but wifi/bluetooth still doesn't work

At this point, whenever i do "make", i got the following error: make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.11.0-rc8-panda/build M=/home/robot/edimax/alt/rtl8812AU_8821AU_linux modules make[1]: *** /lib/modules/4.11.0-rc8-panda/build: No such file or directory. Stop. Makefile:1570: recipe for target 'modules' failed make: *** [modules] Error 2

What am i missing/how to complete the installation?

Thanks for the help in advance!

abc91199 avatar May 13 '17 10:05 abc91199

Hi, the lattepanda-64-mainline_4.11.0-rc8-l_amd64.deb is a prebuilt Debian package. You don't need to do any steps but just install it by dpkg. It will perform all steps. And then reboot your computer to take effect.

mopplayer avatar May 14 '17 12:05 mopplayer

Hi Mopplayer, thanks for all your great work. I want to agree with abs91199. Lots of us users know how to sudo apt-get update, but installing a deb package is beyond us. It would be great if the readme includes all code, step by step, with exact syntax, that is required for installation.

For example, it is unclear if we should follow all the steps in the readme, or if we should just git clone and then dpkg -i the /.deb file. Where is the .deb file anyway? Do we need to build it out of the .zip files?

riazarbi avatar May 16 '17 18:05 riazarbi

Okay, it is unclear, if you don't want to build your own kernel. The prebuilt DEB file in the package directory( (split Zip file).

Package: (split Zip file) Prebuilt Linux kernel and modules by a DEB file, it is easy to install.

I add a line to split it.

mopplayer avatar May 16 '17 19:05 mopplayer

How do you merge multiple zip files into a deb file? Do I extract them first and then merge them, or is there a Linux command to merge several zip into a deb?

riazarbi avatar May 23 '17 12:05 riazarbi

How do you merge multiple zip files into a deb file? Do I extract them first and then merge them, or is there a Linux command to merge several zip into a deb?

@riazarbi AFAIK there is not a command to unzip splitted files, what I did is cat someFileName.z* > merged.zip what you are doing here is concatenating all files in a directory with the same name and with extention starting with 'z' into one single file then unzip the merged file with unzip command

alete89 avatar May 23 '17 13:05 alete89

Thanks! Mopplayer, could you please include this in your readme so that future users can find out how to do it?

riazarbi avatar May 23 '17 13:05 riazarbi

OK, I use WINRAR to split and merge ZIP files under Windows. alete89's method will include and update in README after my testing. Because it seems that package had lack of update-initramfs command by using this method.

mopplayer avatar May 23 '17 16:05 mopplayer